CustomAttributeTypedArgument CustomAttributeTypedArgument CustomAttributeTypedArgument CustomAttributeTypedArgument Constructors

Definition

Overloads

CustomAttributeTypedArgument(Object) CustomAttributeTypedArgument(Object) CustomAttributeTypedArgument(Object) CustomAttributeTypedArgument(Object)

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

CustomAttributeTypedArgument(Type, Object) CustomAttributeTypedArgument(Type, Object) CustomAttributeTypedArgument(Type, Object) CustomAttributeTypedArgument(Type, Object)

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

CustomAttributeTypedArgument(Object) CustomAttributeTypedArgument(Object) CustomAttributeTypedArgument(Object) CustomAttributeTypedArgument(Object)

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

public:
 CustomAttributeTypedArgument(System::Object ^ value);
public CustomAttributeTypedArgument (object value);
new System.Reflection.CustomAttributeTypedArgument : obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (value As Object)

Parameters

value
Object Object Object Object

The value of the custom attribute argument.

Exceptions

Remarks

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.

CustomAttributeTypedArgument(Type, Object) CustomAttributeTypedArgument(Type, Object) CustomAttributeTypedArgument(Type, Object) CustomAttributeTypedArgument(Type, Object)

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

public:
 CustomAttributeTypedArgument(Type ^ argumentType, System::Object ^ value);
public CustomAttributeTypedArgument (Type argumentType, object value);
new System.Reflection.CustomAttributeTypedArgument : Type * obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (argumentType As Type, value As Object)

Parameters

argumentType
Type Type Type Type

The type of the custom attribute argument.

value
Object Object Object Object

The value of the custom attribute argument.

Exceptions

Remarks

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

Applies to