SqlGuid SqlGuid SqlGuid SqlGuid Struct

Definition

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

public value class SqlGuid : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
[Serializable]
public struct SqlGuid : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlGuid = struct
    interface INullable
    interface IXmlSerializable
Public Structure SqlGuid
Implements IComparable, INullable, IXmlSerializable
Inheritance
Attributes
SerializableAttribute
Implements

Constructors

SqlGuid(Byte[]) SqlGuid(Byte[]) SqlGuid(Byte[]) SqlGuid(Byte[])

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

SqlGuid(Guid) SqlGuid(Guid) SqlGuid(Guid) SqlGuid(Guid)

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

SqlGuid(String) SqlGuid(String) SqlGuid(String) SqlGuid(String)

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

SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

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

Fields

Null Null Null Null

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

Properties

IsNull IsNull IsNull IsNull

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

Value Value Value Value

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

Methods

CompareTo(SqlGuid) CompareTo(SqlGuid) CompareTo(SqlGuid) 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.

CompareTo(Object) CompareTo(Object) CompareTo(Object) 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.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the supplied object parameter to the Value property of the SqlGuid object.

Equals(SqlGuid, SqlGuid) Equals(SqlGuid, SqlGuid) Equals(SqlGuid, SqlGuid) Equals(SqlGuid, SqlGuid)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code of this SqlGuid structure.

GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet)

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

GreaterThan(SqlGuid, SqlGuid) GreaterThan(SqlGuid, SqlGuid) GreaterThan(SqlGuid, SqlGuid) GreaterThan(SqlGuid, SqlGuid)

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

GreaterThanOrEqual(SqlGuid, SqlGuid) GreaterThanOrEqual(SqlGuid, SqlGuid) GreaterThanOrEqual(SqlGuid, SqlGuid) GreaterThanOrEqual(SqlGuid, SqlGuid)

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

LessThan(SqlGuid, SqlGuid) LessThan(SqlGuid, SqlGuid) LessThan(SqlGuid, SqlGuid) LessThan(SqlGuid, SqlGuid)

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

LessThanOrEqual(SqlGuid, SqlGuid) LessThanOrEqual(SqlGuid, SqlGuid) LessThanOrEqual(SqlGuid, SqlGuid) LessThanOrEqual(SqlGuid, SqlGuid)

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

NotEquals(SqlGuid, SqlGuid) NotEquals(SqlGuid, SqlGuid) NotEquals(SqlGuid, SqlGuid) NotEquals(SqlGuid, SqlGuid)

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

Parse(String) Parse(String) Parse(String) Parse(String)

Converts the specified String structure to SqlGuid.

ToByteArray() ToByteArray() ToByteArray() ToByteArray()

Converts this SqlGuid structure to a byte array.

ToSqlBinary() ToSqlBinary() ToSqlBinary() ToSqlBinary()

Converts this SqlGuid structure to SqlBinary.

ToSqlString() ToSqlString() ToSqlString() ToSqlString()

Converts this SqlGuid structure to SqlString.

ToString() ToString() ToString() ToString()

Converts this SqlGuid structure to a String.

Operators

Equality(SqlGuid, SqlGuid) Equality(SqlGuid, SqlGuid) Equality(SqlGuid, SqlGuid) Equality(SqlGuid, SqlGuid)

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

Explicit(SqlBinary to SqlGuid) Explicit(SqlBinary to SqlGuid) Explicit(SqlBinary to SqlGuid) Explicit(SqlBinary to SqlGuid)

Converts the SqlBinary parameter to SqlGuid.

Explicit(SqlGuid to Guid) Explicit(SqlGuid to Guid) Explicit(SqlGuid to Guid) Explicit(SqlGuid to Guid)

Converts the supplied SqlGuid parameter to Guid.

Explicit(SqlString to SqlGuid) Explicit(SqlString to SqlGuid) Explicit(SqlString to SqlGuid) Explicit(SqlString to SqlGuid)

Converts the specified SqlString structure to SqlGuid.

GreaterThan(SqlGuid, SqlGuid) GreaterThan(SqlGuid, SqlGuid) GreaterThan(SqlGuid, SqlGuid) GreaterThan(SqlGuid, SqlGuid)

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

GreaterThanOrEqual(SqlGuid, SqlGuid) GreaterThanOrEqual(SqlGuid, SqlGuid) GreaterThanOrEqual(SqlGuid, SqlGuid) 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) Implicit(Guid to SqlGuid) Implicit(Guid to SqlGuid) Implicit(Guid to SqlGuid)

Converts the supplied Guid parameter to SqlGuid.

Inequality(SqlGuid, SqlGuid) Inequality(SqlGuid, SqlGuid) Inequality(SqlGuid, SqlGuid) Inequality(SqlGuid, SqlGuid)

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

LessThan(SqlGuid, SqlGuid) LessThan(SqlGuid, SqlGuid) LessThan(SqlGuid, SqlGuid) LessThan(SqlGuid, SqlGuid)

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

LessThanOrEqual(SqlGuid, SqlGuid) LessThanOrEqual(SqlGuid, SqlGuid) LessThanOrEqual(SqlGuid, SqlGuid) LessThanOrEqual(SqlGuid, SqlGuid)

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

Explicit Interface Implementations

IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema()

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

IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader)

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

IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter)

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

Applies to

See Also