PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Structured­Declaration­Dictionary(!0) Class / Structured­Declaration­Dictionary(!0) Methods / Structured­Declaration­Dictionary(!0).​Add Method

StructuredDeclarationDictionary<!0>.Add Method

Adds an item to the current dictionary.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public void Add(
	IMetadataDeclaration key,
	!0 value
)

Parameters

key
Type: PostSharp.Sdk.CodeModel.IMetadataDeclaration
Key.
value
Type: !0
Value.
See Also