This documentation is archived and is not being maintained.
SqlBinary Structure
Visual Studio 2010
Represents a variable-length stream of binary data to be stored in or retrieved from a database.
Assembly: System.Data (in System.Data.dll)
The SqlBinary type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | IsNull | Indicates whether this SqlBinary structure is null. This property is read-only. |
![]() ![]() | Item | Gets the single byte from the Value property located at the position indicated by the integer parameter, index. If index indicates a position beyond the end of the byte array, a SqlNullValueException will be raised. This property is read-only. |
![]() ![]() | Length | Gets the length in bytes of the Value property. This property is read-only. |
![]() ![]() | Value | Gets the value of the SqlBinary structure. This property is read-only. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Add | Concatenates two specified SqlBinary values to create a new SqlBinary structure. |
![]() ![]() | CompareTo(Object) | Compares this SqlBinary object to the supplied object and returns an indication of their relative values. |
![]() ![]() | CompareTo(SqlBinary) | Compares this SqlBinary object to the supplied SqlBinary object and returns an indication of their relative values. |
![]() ![]() ![]() | Concat | Concatenates two SqlBinary structures to create a new SqlBinary structure. |
![]() ![]() | Equals(Object) | Compares the supplied object parameter to the Value property of the SqlBinary object. (Overrides ValueType::Equals(Object).) |
![]() ![]() ![]() | Equals(SqlBinary, SqlBinary) | Compares two SqlBinary structures to determine whether they are equal. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Returns the hash code for this SqlBinary structure. (Overrides ValueType::GetHashCode().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | GetXsdType | Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
![]() ![]() ![]() | GreaterThan | Compares two SqlBinary structures to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Compares two SqlBinary structures to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | LessThan | Compares two SqlBinary structures to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Compares two SqlBinary structures to determine whether the first is less than or equal to the second. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() ![]() | NotEquals | Compares two SqlBinary structures to determine whether they are not equal. |
![]() ![]() | ToSqlGuid | Converts this instance of SqlBinary to SqlGuid. |
![]() ![]() | ToString | Converts this SqlBinary object to a string. (Overrides ValueType::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Addition | Concatenates the two SqlBinary parameters to create a new SqlBinary structure. |
![]() ![]() ![]() | Equality | Compares two SqlBinary structures to determine whether they are equal. |
![]() ![]() ![]() | Explicit(SqlBinary to array<Byte>) | Converts a SqlBinary structure to a Byte array. |
![]() ![]() ![]() | Explicit(SqlGuid to SqlBinary) | Converts a SqlGuid structure to a SqlBinary structure. |
![]() ![]() ![]() | GreaterThan | Compares two SqlBinary structures to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Compares two SqlBinary structues to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | Implicit(array<Byte> to SqlBinary) | Converts an array of bytes to a SqlBinary structure. |
![]() ![]() ![]() | Inequality | Compares two SqlBinary structures to determine whether they are not equal. |
![]() ![]() ![]() | LessThan | Compares two SqlBinary structures to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Compares two SqlBinary structures to determine whether the first is less than or equal to the second. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | IXmlSerializable::GetSchema | For a description of this member, see GetSchema. |
![]() ![]() ![]() | IXmlSerializable::ReadXml | For a description of this member, see ReadXml. |
![]() ![]() ![]() | IXmlSerializable::WriteXml | For a description of this member, see WriteXml. |
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.
Show:
