PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Custom­Attribute­Helper Class / Custom­Attribute­Helper Methods / Custom­Attribute­Helper.​Render Method / Custom­Attribute­Helper.​Render Method (IAnnotation­Value, String­Builder)

CustomAttributeHelper.Render Method (IAnnotationValue, StringBuilder)

Renders a custom attribute value to an existing StringBuilder.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static void Render(
	this IAnnotationValue attribute,
	StringBuilder target
)

Parameters

attribute
Type: PostSharp.Sdk.CodeModel.IAnnotationValue
A custom attribute.
target
Type: System.Text.StringBuilder
A StringBuilder where to writer the attribute.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAnnotationValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also