[This is preliminary documentation and is subject to change.]
Gets metadata value with given key as string
Namespace: Tools.MetadataTAssembly: Tools.Metadata (in Tools.Metadata.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
string GetStringValue( string key ) |
| Visual Basic |
|---|
Function GetStringValue ( _ key As String _ ) As String |
| Visual C++ |
|---|
String^ GetStringValue( String^ key ) |
| F# |
|---|
abstract GetStringValue : key:string -> string |
| JScript |
|---|
function GetStringValue( key : String ) : String |
Parameters
- key
- Type: System..::..String
Key (or name) to get vaue for (see GetPredefinedKeys()()()() for possible values)
Return Value
Value of metadata item with given key as string; or null if given metadata value is not supported
Remarks
The key peremeter can be either key in metadata-specific format or predefined name of metadata item (if predefined names are supported).
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | key has invalid format and it is not one of predefined names |
See Also
Version History
1.5.3
- Parameter Key renamed to key.