Click or drag to resize
DefaultValueAttribute Constructor (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.

Namespace: System.ComponentModel
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public DefaultValueAttribute(
	Type type,
	string value
)

Parameters

type
Type: SystemType
A System.Type that represents the type to convert the value to.
value
Type: SystemString
A System.String that can be converted to the type using the System.ComponentModel.TypeConverter for the type and the U.S. English culture.
See Also