System.Xml.XmlConverter.ToGuid C# (CSharp) Méthode

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
        static public Guid ToGuid(byte[] buffer, int offset, int count)
        {
            return ToGuid(ToString(buffer, offset, count));
        }

Same methods

XmlConverter::ToGuid ( string value ) : System.Guid

Usage Example

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()));
 }
All Usage Examples Of System.Xml.XmlConverter::ToGuid