ToGuid() static public méthode

static public ToGuid ( byte buffer, int offset, int count ) : System.Guid
buffer byte
offset int
count int
Résultat System.Guid
Exemple #1
0
 public Guid ToGuid()
 {
     if (_type == ValueHandleType.Guid)
     {
         return(GetGuid());
     }
     if (_type == ValueHandleType.UTF8)
     {
         return(XmlConverter.ToGuid(_bufferReader.Buffer, _offset, _length));
     }
     return(XmlConverter.ToGuid(GetString()));
 }
Exemple #2
0
 public Guid ToGuid()
 {
     if (this.type == ValueHandleType.Guid)
     {
         return(this.GetGuid());
     }
     if (this.type == ValueHandleType.UTF8)
     {
         return(XmlConverter.ToGuid(this.bufferReader.Buffer, this.offset, this.length));
     }
     return(XmlConverter.ToGuid(this.GetString()));
 }