Uredi

Deli z drugimi prek


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
public value class SqlGuid : IComparable, IEquatable<System::Data::SqlTypes::SqlGuid>, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public value class SqlGuid : IComparable, IEquatable<System::Data::SqlTypes::SqlGuid>, System::Data::SqlTypes::INullable, System::Runtime::Serialization::ISerializable, System::Xml::Serialization::IXmlSerializable
public value class SqlGuid : IComparable, System::Data::SqlTypes::INullable
public struct SqlGuid : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlGuid : IComparable, IEquatable<System.Data.SqlTypes.SqlGuid>, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
public struct SqlGuid : IComparable, IEquatable<System.Data.SqlTypes.SqlGuid>, System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable
public struct SqlGuid : IComparable, System.Data.SqlTypes.INullable
[System.Serializable]
public struct SqlGuid : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlGuid = struct
    interface INullable
    interface IXmlSerializable
type SqlGuid = struct
    interface INullable
    interface ISerializable
    interface IXmlSerializable
type SqlGuid = struct
    interface INullable
[<System.Serializable>]
type SqlGuid = struct
    interface INullable
    interface IXmlSerializable
Public Structure SqlGuid
Implements IComparable, INullable, IXmlSerializable
Public Structure SqlGuid
Implements IComparable, IEquatable(Of SqlGuid), INullable, IXmlSerializable
Public Structure SqlGuid
Implements IComparable, IEquatable(Of SqlGuid), INullable, ISerializable, IXmlSerializable
Public Structure SqlGuid
Implements IComparable, INullable
Inheritance
SqlGuid
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)

Converts the specified String structure to SqlGuid.

ToByteArray()

Converts this SqlGuid structure to a byte array.

ToSqlBinary()

Converts this SqlGuid structure to SqlBinary.

ToSqlString()

Converts this SqlGuid structure to SqlString.

ToString()

Converts this SqlGuid structure to a String.

Operators

Equality(SqlGuid, SqlGuid)

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

Explicit(SqlBinary to SqlGuid)

Converts the SqlBinary parameter to SqlGuid.

Explicit(SqlGuid to Guid)

Converts the supplied SqlGuid parameter to Guid.

Explicit(SqlString to SqlGuid)

Converts the specified SqlString structure 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)

Converts the supplied Guid parameter 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.

Applies to

See also