CustomAttributeTypedArgument Constructor (Type^, Object^)

.NET Framework (current version)
 

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

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

public:
CustomAttributeTypedArgument(
	Type^ argumentType,
	Object^ value
)

Parameters

argumentType
Type: System::Type^

The type of the custom attribute argument.

value
Type: System::Object^

The value of the custom attribute argument.

Exception Condition
ArgumentNullException

argumentType is null.

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: