[This is preliminary documentation and is subject to change.]
CTor - attribute bound to any static property
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public LDescriptionAttribute(
Type Resource,
string PropertyName,
string AlternativeValue
) |
| Visual Basic |
|---|
Public Sub New ( _
Resource As Type, _
PropertyName As String, _
AlternativeValue As String _
) |
| Visual C++ |
|---|
public:
LDescriptionAttribute(
Type^ Resource,
String^ PropertyName,
String^ AlternativeValue
) |
| F# |
|---|
new :
Resource:Type *
PropertyName:string *
AlternativeValue:string -> LDescriptionAttribute |
Parameters
- Resource
- Type: System..::..Type
Type of type that contains property with name specified in the PropertyName parameter. Though it is assumed that type is resource, it is not necessary.
- PropertyName
- Type: System..::..String
Name of Static (Shared in Visual Basic) property of type specified in Resource. It is not necessary for the property to be public. Return type must be String.
- AlternativeValue
- Type: System..::..String
Alternative value used when property cannot be invoked
See Also