DefaultValueAttribute Constructor

Initializes a new instance of the DefaultValueAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DefaultValueAttribute(Boolean) Initializes a new instance of the DefaultValueAttribute class using a Boolean value.
Public method DefaultValueAttribute(Byte) Initializes a new instance of the DefaultValueAttribute class using an 8-bit unsigned integer.
Public method DefaultValueAttribute(Char) Initializes a new instance of the DefaultValueAttribute class using a Unicode character.
Public method DefaultValueAttribute(Double) Initializes a new instance of the DefaultValueAttribute class using a double-precision floating point number.
Public method DefaultValueAttribute(Int16) Initializes a new instance of the DefaultValueAttribute class using a 16-bit signed integer.
Public method DefaultValueAttribute(Int32) Initializes a new instance of the DefaultValueAttribute class using a 32-bit signed integer.
Public method DefaultValueAttribute(Int64) Initializes a new instance of the DefaultValueAttribute class using a 64-bit signed integer.
Public method DefaultValueAttribute(Object) Initializes a new instance of the DefaultValueAttribute class.
Public method DefaultValueAttribute(Single) Initializes a new instance of the DefaultValueAttribute class using a single-precision floating point number.
Public method DefaultValueAttribute(String) Initializes a new instance of the DefaultValueAttribute class using a String.
Public method DefaultValueAttribute(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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft