The following tables list the members exposed by the OptionalAttribute type.
Name | Description | |
---|---|---|
![]() |
DefaultsTo | Gets or sets the default value to transfer if the decorated member is null reference (Nothing in Visual Basic) or empty. |
![]() |
DefaultsToField | Gets or sets the field to transfer if the decorated member is null reference (Nothing in Visual Basic) or empty. |
![]() |
DefaultsToProperty | Gets or sets the property to transfer if the decorated member is null reference (Nothing in Visual Basic) or empty. |
![]() |
InvalidInputMessage | Gets or sets the invalid input message. (inherited from ValidateAttribute). |
![]() |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (inherited from Attribute). |
![]() |
ValidationOrder | Gets or sets the validation order. (inherited from ValidateAttribute). |