Export (0) Print
Expand All

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.

  NameDescription
Public methodSupported by the XNA FrameworkSqlGuid(Byte[])Initializes a new instance of the SqlGuid structure using the supplied byte array parameter.
Public methodSupported by the XNA FrameworkSqlGuid(Guid)Initializes a new instance of the SqlGuid structure using the specified Guid parameter.
Public methodSupported by the XNA FrameworkSqlGuid(String)Initializes a new instance of the SqlGuid structure using the specified String parameter.
Public methodSupported by the XNA FrameworkSqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)Initializes a new instance of the SqlGuid structure using the specified values.
Top

  NameDescription
Public propertySupported by the XNA FrameworkIsNullGets a Boolean value that indicates whether this SqlGuid structure is null.
Public propertySupported by the XNA FrameworkValueGets the value of the SqlGuid structure. This property is read-only.
Top

  NameDescription
Public methodSupported by the XNA FrameworkCompareTo(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 methodSupported by the XNA FrameworkCompareTo(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 methodSupported by the XNA FrameworkEquals(Object)Compares the supplied object parameter to the Value property of the SqlGuid object. (Overrides ValueType.Equals(Object).)
Public methodStatic memberSupported by the XNA FrameworkEquals(SqlGuid, SqlGuid)Performs a logical comparison of two SqlGuid structures to determine whether they are equal.
Public methodSupported by the XNA FrameworkGetHashCodeReturns the hash code of this SqlGuid structure. (Overrides ValueType.GetHashCode().)
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the XNA FrameworkGetXsdTypeReturns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanCompares two instances of SqlGuid to determine whether the first is greater than the second.
Public methodStatic memberSupported by the XNA FrameworkGreaterThanOrEqualCompares two instances of SqlGuid to determine whether the first is greater than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanCompares two instances of SqlGuid to determine whether the first is less than the second.
Public methodStatic memberSupported by the XNA FrameworkLessThanOrEqualCompares two instances of SqlGuid to determine whether the first is less than or equal to the second.
Public methodStatic memberSupported by the XNA FrameworkNotEqualsPerforms a logical comparison on two SqlGuid structures to determine whether they are not equal.
Public methodStatic memberSupported by the XNA FrameworkParseConverts the specified String structure to SqlGuid.
Public methodSupported by the XNA FrameworkToByteArrayConverts this SqlGuid structure to a byte array.
Public methodSupported by the XNA FrameworkToSqlBinaryConverts this SqlGuid structure to SqlBinary.
Public methodSupported by the XNA FrameworkToSqlStringConverts this SqlGuid structure to SqlString.
Public methodSupported by the XNA FrameworkToStringConverts this SqlGuid structure to a String. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberSupported by the XNA FrameworkEqualityPerforms a logical comparison of two SqlGuid structures to determine whether they are equal.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlBinary to SqlGuid)Converts the SqlBinary parameter to SqlGuid.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlGuid to Guid)Converts the supplied SqlGuid parameter to Guid.
Public operatorStatic memberSupported by the XNA FrameworkExplicit(SqlString to SqlGuid)Converts the specified SqlString structure to SqlGuid.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanCompares two instances of SqlGuid to determine whether the first is greater than the second.
Public operatorStatic memberSupported by the XNA FrameworkGreaterThanOrEqualCompares two instances of SqlGuid to determine whether the first is greater than or equal to the second.
Public operatorStatic memberSupported by the XNA FrameworkImplicit(Guid to SqlGuid)Converts the supplied Guid parameter to SqlGuid.
Public operatorStatic memberSupported by the XNA FrameworkInequalityPerforms a logical comparison on two SqlGuid structures to determine whether they are not equal.
Public operatorStatic memberSupported by the XNA FrameworkLessThanCompares two instances of SqlGuid to determine whether the first is less than the second.
Public operatorStatic memberSupported by the XNA FrameworkLessThanOrEqualCompares two instances of SqlGuid to determine whether the first is less than or equal to the second.
Top

  NameDescription
Public fieldStatic memberSupported by the XNA FrameworkNullRepresents a DBNull that can be assigned to this instance of the SqlGuid structure.
Top

  NameDescription
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.GetSchemaThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.ReadXmlThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.WriteXmlThis member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft