[This is preliminary documentation and is subject to change.]
CTor - attribute bound to shared property
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
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. The property shouldn't return an empty string.
- AlternativeValue
- Type: System..::..String
Alternative value used when property cannot be invoked.
This value is also used when lookup order NETFirst (or ResourceFirst and no resource is found) as value to be localized by the .NET Framework.
- LookupOrder
- Type: Tools.ComponentModelT..::..LCategoryAttribute..::..enmLookUpOrder
Defines order of sources of localized string
See Also