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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈