JsonElement.GetGuid 方法
定义
public:
Guid GetGuid();
public Guid GetGuid ();
member this.GetGuid : unit -> Guid
Public Function GetGuid () As Guid
返回
元素的值(Guid 形式)。The value of the element as a Guid.
例外
已释放父级 JsonDocument。The parent JsonDocument has been disposed.
注解
此方法不会创建 JSON 字符串以外的值的 Guid 表示形式。This method does not create a Guid representation of values other than JSON strings.