PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model Namespace/Metadata­Declaration Class/Metadata­Declaration Methods/Metadata­Declaration.​Set­Tag(T) Method

MetadataDeclaration.SetTag<T> Method

Set a tag to the current declaration.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public void SetTag<T>(
	TagId tagId,
	T value
)

Parameters

tagId
Type: PostSharp.Sdk.CodeModel.TagId
Tag identifier.
value
Type: T
Tag value.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:PostSharp.Sdk.CodeModel.MetadataDeclaration.SetTag``1(PostSharp.Sdk.CodeModel.TagId,``0)"]

Implements

ITaggable.SetTag<T>(TagId, T)
See Also