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.

DefaultValueAttribute Constructor

 

Initializes a new instance of the DefaultValueAttribute class.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodDefaultValueAttribute(Boolean)

Initializes a new instance of the DefaultValueAttribute class using a Boolean value.

System_CAPS_pubmethodDefaultValueAttribute(Byte)

Initializes a new instance of the DefaultValueAttribute class using an 8-bit unsigned integer.

System_CAPS_pubmethodDefaultValueAttribute(Char)

Initializes a new instance of the DefaultValueAttribute class using a Unicode character.

System_CAPS_pubmethodDefaultValueAttribute(Double)

Initializes a new instance of the DefaultValueAttribute class using a double-precision floating point number.

System_CAPS_pubmethodDefaultValueAttribute(Int16)

Initializes a new instance of the DefaultValueAttribute class using a 16-bit signed integer.

System_CAPS_pubmethodDefaultValueAttribute(Int32)

Initializes a new instance of the DefaultValueAttribute class using a 32-bit signed integer.

System_CAPS_pubmethodDefaultValueAttribute(Int64)

Initializes a new instance of the DefaultValueAttribute class using a 64-bit signed integer.

System_CAPS_pubmethodDefaultValueAttribute(Object^)

Initializes a new instance of the DefaultValueAttribute class.

System_CAPS_pubmethodDefaultValueAttribute(Single)

Initializes a new instance of the DefaultValueAttribute class using a single-precision floating point number.

System_CAPS_pubmethodDefaultValueAttribute(String^)

Initializes a new instance of the DefaultValueAttribute class using a String.

System_CAPS_pubmethodDefaultValueAttribute(Type^, String^)

Initializes a new instance of the DefaultValueAttribute class, converting the specified value to the specified type, and using an invariant culture as the translation context.

Return to top
Show:
© 2017 Microsoft