ToUniqueId() static public méthode

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