Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CustomAttributeTypedArgument Constructor (Object^)

.NET Framework (current version)
 

Initializes a new instance of the CustomAttributeTypedArgument class with the specified value.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public:
CustomAttributeTypedArgument(
	Object^ value
)

Parameters

value
Type: System::Object^

The value of the custom attribute argument.

Exception Condition
ArgumentNullException

value is null.

The value parameter cannot be null for this constructor, because the argument type is inferred from the type of value. To specify a null value, use the CustomAttributeTypedArgument(Type^, Object^) constructor.

This constructor is for use by inheritors of the CustomAttributeTypedArgument class. It is not intended for use in application code.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft