PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Custom­Attribute­Declaration Class / Custom­Attribute­Declaration Methods / Custom­Attribute­Declaration.​Construct­Runtime­Object Method

CustomAttributeDeclaration.ConstructRuntimeObject Method

Gets the runtime object constructed from the current instance.

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 Object ConstructRuntimeObject()

Return Value

Type: Object
An object constructed from Constructor with all NamedArguments properly set.
Exceptions
ExceptionCondition
CustomAttributeConstructorExceptionThe constructor or a property setter threw an exception.
See Also