PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Envelope Class / Assembly­Envelope Methods / Assembly­Envelope.​Set­Tag(T) Method

AssemblyEnvelope.SetTag<T> Method

Set a tag to the current declaration.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.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.AssemblyEnvelope.SetTag``1(PostSharp.Sdk.CodeModel.TagId,``0)"]

Implements

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