SqlGuid Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a GUID to be stored in or retrieved from a database.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

[SerializableAttribute]
public struct SqlGuid : INullable, IComparable, IXmlSerializable

NameDescription
System_CAPS_pubmethodSqlGuid(Byte[])

Initializes a new instance of the SqlGuid structure using the supplied byte array parameter.

System_CAPS_pubmethodSqlGuid(Guid)

Initializes a new instance of the SqlGuid structure using the specified Guid parameter.

System_CAPS_pubmethodSqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

Initializes a new instance of the SqlGuid structure using the specified values.

System_CAPS_pubmethodSqlGuid(String)

Initializes a new instance of the SqlGuid structure using the specified String parameter.

NameDescription
System_CAPS_pubpropertyIsNull

Gets a Boolean value that indicates whether this SqlGuid structure is null.

System_CAPS_pubpropertyValue

Gets the value of the SqlGuid structure. This property is read-only.

NameDescription
System_CAPS_pubmethodCompareTo(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.

System_CAPS_pubmethodCompareTo(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.

System_CAPS_pubmethodEquals(Object)

Compares the supplied object parameter to the Value property of the SqlGuid object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(SqlGuid, SqlGuid)

Performs a logical comparison of two SqlGuid structures to determine whether they are equal.

System_CAPS_pubmethodGetHashCode()

Returns the hash code of this SqlGuid structure.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetXsdType(XmlSchemaSet)

Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is greater than the second.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is less than the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is less than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticNotEquals(SqlGuid, SqlGuid)

Performs a logical comparison on two SqlGuid structures to determine whether they are not equal.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Converts the specified String structure to SqlGuid.

System_CAPS_pubmethodToByteArray()

Converts this SqlGuid structure to a byte array.

System_CAPS_pubmethodToSqlBinary()

Converts this SqlGuid structure to SqlBinary.

System_CAPS_pubmethodToSqlString()

Converts this SqlGuid structure to SqlString.

System_CAPS_pubmethodToString()

Converts this SqlGuid structure to a String.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticNull

Represents a DBNull that can be assigned to this instance of the SqlGuid structure.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(SqlGuid, SqlGuid)

Performs a logical comparison of two SqlGuid structures to determine whether they are equal.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlBinary to SqlGuid)

Converts the SqlBinary parameter to SqlGuid.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlGuid to Guid)

Converts the supplied SqlGuid parameter to Guid.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(SqlString to SqlGuid)

Converts the specified SqlString structure to SqlGuid.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is greater than the second.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Guid to SqlGuid)

Converts the supplied Guid parameter to SqlGuid.

System_CAPS_puboperatorSystem_CAPS_staticInequality(SqlGuid, SqlGuid)

Performs a logical comparison on two SqlGuid structures to determine whether they are not equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is less than the second.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(SqlGuid, SqlGuid)

Compares two instances of SqlGuid to determine whether the first is less than or equal to the second.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.GetSchema()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.ReadXml(XmlReader)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlSerializable.WriteXml(XmlWriter)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: