[This is preliminary documentation and is subject to change.]
CTor - for default values of any type (bound to static property)
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| 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
) |
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