DefaultValueAttribute Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: