This documentation is archived and is not being maintained.
SqlBytes Class
Visual Studio 2010
Assembly: System.Data (in System.Data.dll)
The SqlBytes type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | SqlBytes() | Initializes a new instance of the SqlBytes class. |
![]() ![]() | SqlBytes(array<Byte>) | Initializes a new instance of the SqlBytes class based on the specified byte array. |
![]() ![]() | SqlBytes(SqlBinary) | Initializes a new instance of the SqlBytes class based on the specified SqlBinary value. |
![]() ![]() | SqlBytes(Stream) | Initializes a new instance of the SqlBytes class based on the specified Stream value. |
| Name | Description | |
|---|---|---|
![]() ![]() | Buffer | Returns a reference to the internal buffer. |
![]() ![]() | IsNull | Gets a Boolean value that indicates whether this SqlBytes is null. |
![]() ![]() | Item | Gets or sets the SqlBytes instance at the specified index. |
![]() ![]() | Length | Gets the length of the value that is contained in the SqlBytes instance. |
![]() ![]() | MaxLength | Gets the maximum length of the value of the internal buffer of this SqlBytes. |
![]() ![]() ![]() | Null | Returns a null instance of this SqlBytes. |
![]() ![]() | Storage | Returns information about the storage state of this SqlBytes instance. |
![]() ![]() | Stream | Gets or sets the data of this SqlBytes as a stream. |
![]() ![]() | Value | Returns a managed copy of the value held by this SqlBytes. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | 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 | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | GetXsdType | Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Read | Copies bytes from this SqlBytes instance to the passed-in buffer and returns the number of copied bytes. |
![]() ![]() | SetLength | Sets the length of this SqlBytes instance. |
![]() ![]() | SetNull | Sets this SqlBytes instance to null. |
![]() ![]() | ToSqlBinary | Constructs and returns a SqlBinary from this SqlBytes instance. |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | Write | Copies bytes from the passed-in buffer to this SqlBytes instance. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Explicit(SqlBinary to SqlBytes) | Converts a SqlBinary structure to a SqlBytes structure. |
![]() ![]() ![]() | Explicit(SqlBytes to SqlBinary) | Converts a SqlBytes structure to a SqlBinary structure. |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable::GetObjectData | Gets serialization information with all the data needed to reinstantiate this SqlBytes instance. |
![]() ![]() ![]() | IXmlSerializable::GetSchema | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable::ReadXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable::WriteXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
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:
