[This is preliminary documentation and is subject to change.]

CTor - for default values of any type (bound to static property)

Namespace: Tools.ComponentModelT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public LDefaultValueAttribute(
	Type Resource,
	string Property,
	Type Type,
	string Alternative
)
Visual Basic
Public Sub New ( _
	Resource As Type, _
	Property As String, _
	Type As Type, _
	Alternative As String _
)
Visual C++
public:
LDefaultValueAttribute(
	Type^ Resource, 
	String^ Property, 
	Type^ Type, 
	String^ Alternative
)
F#
new : 
        Resource:Type * 
        Property:string * 
        Type:Type * 
        Alternative:string -> LDefaultValueAttribute
JScript
public function LDefaultValueAttribute(
	Resource : Type, 
	Property : String, 
	Type : Type, 
	Alternative : String
)

Parameters

Resource
Type: System..::..Type
Type that contains property with name spacified in Property
Property
Type: System..::..String
Name of Static (Shared in Visual Basic) Public property of type specified in Resource. This property cannot be indexed.
Type
Type: System..::..Type
Type of default value
Alternative
Type: System..::..String
Alternative value used when obrainin from Resource fails

See Also