[This is preliminary documentation and is subject to change.]
CTor - only for default values of
String type (bound to resource)
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public LDefaultValueAttribute(
string ResourceName,
string Property,
Type TypeFromAssembly,
string Alternative
) |
| Visual Basic |
|---|
Public Sub New ( _
ResourceName As String, _
Property As String, _
TypeFromAssembly As Type, _
Alternative As String _
) |
| Visual C++ |
|---|
public:
LDefaultValueAttribute(
String^ ResourceName,
String^ Property,
Type^ TypeFromAssembly,
String^ Alternative
) |
| F# |
|---|
new :
ResourceName:string *
Property:string *
TypeFromAssembly:Type *
Alternative:string -> LDefaultValueAttribute |
Parameters
- ResourceName
- Type: System..::..String
Name of resource in asseblby where type TypeFromAssembly comes from
- Property
- Type: System..::..String
Name item in resource ResourceName
- TypeFromAssembly
- Type: System..::..Type
Any type form assembly where resource with name ResourceName is defined
- Alternative
- Type: System..::..String
Alternative value used when obrainin from Resource fails
See Also