SqlGuid Struct 
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.
Represents a GUID to be stored in or retrieved from a database.
public value class SqlGuid : IComparable, IEquatable<System::Data::SqlTypes::SqlGuid>, System::Data::SqlTypes::INullable, System::Runtime::Serialization::ISerializable, System::Xml::Serialization::IXmlSerializablepublic value class SqlGuid : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializablepublic value class SqlGuid : IComparable, IEquatable<System::Data::SqlTypes::SqlGuid>, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializablepublic value class SqlGuid : IComparable, System::Data::SqlTypes::INullablepublic struct SqlGuid : IComparable, IEquatable<System.Data.SqlTypes.SqlGuid>, System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializablepublic struct SqlGuid : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializablepublic struct SqlGuid : IComparable, IEquatable<System.Data.SqlTypes.SqlGuid>, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializablepublic struct SqlGuid : IComparable, System.Data.SqlTypes.INullable[System.Serializable]
public struct SqlGuid : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializabletype SqlGuid = struct
    interface INullable
    interface ISerializable
    interface IXmlSerializabletype SqlGuid = struct
    interface INullable
    interface IXmlSerializabletype SqlGuid = struct
    interface INullable[<System.Serializable>]
type SqlGuid = struct
    interface INullable
    interface IXmlSerializablePublic Structure SqlGuid
Implements IComparable, IEquatable(Of SqlGuid), INullable, ISerializable, IXmlSerializablePublic Structure SqlGuid
Implements IComparable, INullable, IXmlSerializablePublic Structure SqlGuid
Implements IComparable, IEquatable(Of SqlGuid), INullable, IXmlSerializablePublic Structure SqlGuid
Implements IComparable, INullable- Inheritance
- Attributes
- Implements
Constructors
| SqlGuid(Byte[]) | Initializes a new instance of the SqlGuid structure using the supplied byte array parameter. | 
| SqlGuid(Guid) | Initializes a new instance of the SqlGuid structure using the specified Guid parameter. | 
| SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Initializes a new instance of the SqlGuid structure using the specified values. | 
| SqlGuid(String) | Initializes a new instance of the SqlGuid structure using the specified String parameter. | 
Fields
| Null | Represents a DBNull that can be assigned to this instance of the SqlGuid structure. | 
Properties
| IsNull | Gets a Boolean value that indicates whether this SqlGuid structure is null. | 
| Value | Gets the value of the SqlGuid structure. This property is read-only. | 
Methods
| CompareTo(Object) | Compares this SqlGuid structure to the supplied object and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons. | 
| CompareTo(SqlGuid) | Compares this SqlGuid structure to the supplied SqlGuid and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons. | 
| Equals(Object) | Compares the supplied object parameter to the Value property of the SqlGuid object. | 
| Equals(SqlGuid, SqlGuid) | Performs a logical comparison of two SqlGuid structures to determine whether they are equal. | 
| Equals(SqlGuid) | Indicates whether the current instance is equal to another instance of the same type. | 
| GetHashCode() | Returns the hash code of this SqlGuid structure. | 
| GetXsdType(XmlSchemaSet) | Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. | 
| GreaterThan(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is greater than the second. | 
| GreaterThanOrEqual(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second. | 
| LessThan(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is less than the second. | 
| LessThanOrEqual(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is less than or equal to the second. | 
| NotEquals(SqlGuid, SqlGuid) | Performs a logical comparison on two SqlGuid structures to determine whether they are not equal. | 
| Parse(String) | |
| ToByteArray() | Converts this SqlGuid structure to a byte array. | 
| ToSqlBinary() | |
| ToSqlString() | |
| ToString() | 
Operators
| Equality(SqlGuid, SqlGuid) | Performs a logical comparison of two SqlGuid structures to determine whether they are equal. | 
| Explicit(SqlBinary to SqlGuid) | |
| Explicit(SqlGuid to Guid) | |
| Explicit(SqlString to SqlGuid) | |
| GreaterThan(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is greater than the second. | 
| GreaterThanOrEqual(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second. | 
| Implicit(Guid to SqlGuid) | |
| Inequality(SqlGuid, SqlGuid) | Performs a logical comparison on two SqlGuid structures to determine whether they are not equal. | 
| LessThan(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is less than the second. | 
| LessThanOrEqual(SqlGuid, SqlGuid) | Compares two instances of SqlGuid to determine whether the first is less than or equal to the second. | 
Explicit Interface Implementations
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo with the data needed to serialize the target object. | 
| IXmlSerializable.GetSchema() | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. | 
| IXmlSerializable.ReadXml(XmlReader) | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. | 
| IXmlSerializable.WriteXml(XmlWriter) | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |