SqlBinary Structure
.NET Framework 4.5
Represents a variable-length stream of binary data to be stored in or retrieved from a database.
Namespace: System.Data.SqlTypes
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. |
![]() ![]() | 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. |
![]() ![]() ![]() | 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 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(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 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.
