DefaultValueAttribute Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Boolean) Initializes a new instance of the DefaultValueAttribute class using a Boolean value.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Byte) Initializes a new instance of the DefaultValueAttribute class using an 8-bit unsigned integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Char) Initializes a new instance of the DefaultValueAttribute class using a Unicode character.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Double) Initializes a new instance of the DefaultValueAttribute class using a double-precision floating point number.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Int16) Initializes a new instance of the DefaultValueAttribute class using a 16-bit signed integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Int32) Initializes a new instance of the DefaultValueAttribute class using a 32-bit signed integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Int64) Initializes a new instance of the DefaultValueAttribute class using a 64-bit signed integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Object) Initializes a new instance of the DefaultValueAttribute class.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(Single) Initializes a new instance of the DefaultValueAttribute class using a single-precision floating point number.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 DefaultValueAttribute(String) Initializes a new instance of the DefaultValueAttribute class using a String.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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