DefaultValueAttribute Class |
Namespace: System.ComponentModel
public sealed class DefaultValueAttribute : Attribute
The DefaultValueAttribute type exposes the following members.
Name | Description | |
---|---|---|
DefaultValueAttribute(Boolean) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a System.Boolean value.
| |
DefaultValueAttribute(Byte) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using an 8-bit unsigned integer.
| |
DefaultValueAttribute(Char) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a Unicode character.
| |
DefaultValueAttribute(Double) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a double-precision floating point number.
| |
DefaultValueAttribute(Int16) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a 16-bit signed integer.
| |
DefaultValueAttribute(Int32) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a 32-bit signed integer.
| |
DefaultValueAttribute(Int64) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a 64-bit signed integer.
| |
DefaultValueAttribute(Object) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class.
| |
DefaultValueAttribute(Single) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a single-precision floating point number.
| |
DefaultValueAttribute(String) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class using a System.String.
| |
DefaultValueAttribute(Type, String) |
Initializes a new instance of the System.ComponentModel.DefaultValueAttribute
class, converting the specified value to the specified type, and using an
invariant culture as the translation context.
|
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |