Utf8JsonReader.GetGuid 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.
Reads the next JSON token value from the source and parses it to a Guid.
public:
Guid GetGuid();
public Guid GetGuid ();
member this.GetGuid : unit -> Guid
Public Function GetGuid () As Guid
Returns
The GUID value, if the entire UTF-8 encoded token value can be successfully parsed.
Exceptions
The value of the JSON token isn't a String.
The JSON token value is in an unsupported format for a Guid.
-or-
The entire UTF-8 encoded token value cannot be parsed to a Guid value.
Applies to
See also
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.