This topic has not yet been rated - Rate this topic

SqlGuid Structure

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

The SqlGuid type exposes the following members.

  Name Description
Public method Supported by the XNA Framework SqlGuid(Byte[]) Initializes a new instance of the SqlGuid structure using the supplied byte array parameter.
Public method Supported by the XNA Framework SqlGuid(Guid) Initializes a new instance of the SqlGuid structure using the specified Guid parameter.
Public method Supported by the XNA Framework SqlGuid(String) Initializes a new instance of the SqlGuid structure using the specified String parameter.
Public method Supported by the XNA Framework SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Initializes a new instance of the SqlGuid structure using the specified values.
Top
  Name Description
Public property Supported by the XNA Framework IsNull Gets a Boolean value that indicates whether this SqlGuid structure is null.
Public property Supported by the XNA Framework Value Gets the value of the SqlGuid structure. This property is read-only.
Top
  Name Description
Public method Supported by the XNA Framework 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.
Public method Supported by the XNA Framework 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.
Public method Supported by the XNA Framework Equals(Object) Compares the supplied object parameter to the Value property of the SqlGuid object. (Overrides ValueType.Equals(Object).)
Public method Static member Supported by the XNA Framework Equals(SqlGuid, SqlGuid) Performs a logical comparison of two SqlGuid structures to determine whether they are equal.
Protected method Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the XNA Framework GetHashCode Returns the hash code of this SqlGuid structure. (Overrides ValueType.GetHashCode().)
Public method Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Supported by the XNA Framework GetXsdType Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public method Static member Supported by the XNA Framework GreaterThan Compares two instances of SqlGuid to determine whether the first is greater than the second.
Public method Static member Supported by the XNA Framework GreaterThanOrEqual Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second.
Public method Static member Supported by the XNA Framework LessThan Compares two instances of SqlGuid to determine whether the first is less than the second.
Public method Static member Supported by the XNA Framework LessThanOrEqual Compares two instances of SqlGuid to determine whether the first is less than or equal to the second.
Protected method Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the XNA Framework NotEquals Performs a logical comparison on two SqlGuid structures to determine whether they are not equal.
Public method Static member Supported by the XNA Framework Parse Converts the specified String structure to SqlGuid.
Public method Supported by the XNA Framework ToByteArray Converts this SqlGuid structure to a byte array.
Public method Supported by the XNA Framework ToSqlBinary Converts this SqlGuid structure to SqlBinary.
Public method Supported by the XNA Framework ToSqlString Converts this SqlGuid structure to SqlString.
Public method Supported by the XNA Framework ToString Converts this SqlGuid structure to a String. (Overrides ValueType.ToString().)
Top
  Name Description
Public operator Static member Supported by the XNA Framework Equality Performs a logical comparison of two SqlGuid structures to determine whether they are equal.
Public operator Static member Supported by the XNA Framework Explicit(SqlBinary to SqlGuid) Converts the SqlBinary parameter to SqlGuid.
Public operator Static member Supported by the XNA Framework Explicit(SqlGuid to Guid) Converts the supplied SqlGuid parameter to Guid.
Public operator Static member Supported by the XNA Framework Explicit(SqlString to SqlGuid) Converts the specified SqlString structure to SqlGuid.
Public operator Static member Supported by the XNA Framework GreaterThan Compares two instances of SqlGuid to determine whether the first is greater than the second.
Public operator Static member Supported by the XNA Framework GreaterThanOrEqual Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second.
Public operator Static member Supported by the XNA Framework Implicit(Guid to SqlGuid) Converts the supplied Guid parameter to SqlGuid.
Public operator Static member Supported by the XNA Framework Inequality Performs a logical comparison on two SqlGuid structures to determine whether they are not equal.
Public operator Static member Supported by the XNA Framework LessThan Compares two instances of SqlGuid to determine whether the first is less than the second.
Public operator Static member Supported by the XNA Framework LessThanOrEqual Compares two instances of SqlGuid to determine whether the first is less than or equal to the second.
Top
  Name Description
Public field Static member Supported by the XNA Framework Null Represents a DBNull that can be assigned to this instance of the SqlGuid structure.
Top
  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework IXmlSerializable.GetSchema This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method Supported by the XNA Framework IXmlSerializable.ReadXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method Supported by the XNA Framework IXmlSerializable.WriteXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ