FakeLogRecord.GetStructuredStateValue(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of a particular key value pair in the record's structured state.
public:
System::String ^ GetStructuredStateValue(System::String ^ key);
public string? GetStructuredStateValue (string key);
member this.GetStructuredStateValue : string -> string
Public Function GetStructuredStateValue (key As String) As String
Parameters
- key
- String
The key to search for in the record's structured state.
Returns
The value associated with the key, or null
if the key was not found. If the structured
state contains multiple entries with the same key, the value associated with the first matching key encountered is returned.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.