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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET