Visual Basic (Declaration) | |
---|---|
Public ReadOnly Default Property Item( _ ByVal key As String _ ) As PropertyValue |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ReportProperties Dim key As String Dim value As PropertyValue value = instance.Item(key) |
C# | |
---|---|
public PropertyValue this[ string key ]; {get;} |
Managed Extensions for C++ | |
---|---|
public: __property PropertyValue* get_Item string* key ; |
C++/CLI | |
---|---|
public: property PropertyValue^ default [String^] { PropertyValue^ get(String^ key); } |
Parameters
- key
- The name of the property.
Property Value
The property value.Requirements
Platforms: Windows 10, Windows NT, Windows Server