SqlBytes Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class SqlBytes sealed : System::Data::SqlTypes::INullable, System::Runtime::Serialization::ISerializable, System::Xml::Serialization::IXmlSerializable
public ref class SqlBytes sealed : System::Data::SqlTypes::INullable
public sealed class SqlBytes : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable
public sealed class SqlBytes : System.Data.SqlTypes.INullable
[System.Serializable]
public sealed class SqlBytes : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable
type SqlBytes = class
interface INullable
interface ISerializable
interface IXmlSerializable
type SqlBytes = class
interface INullable
[<System.Serializable>]
type SqlBytes = class
interface INullable
interface IXmlSerializable
interface ISerializable
Public NotInheritable Class SqlBytes
Implements INullable, ISerializable, IXmlSerializable
Public NotInheritable Class SqlBytes
Implements INullable
- Inheritance
-
SqlBytes
- Attributes
- Implements
Sql |
Initializes a new instance of the SqlBytes class. |
Sql |
Initializes a new instance of the SqlBytes class based on the specified byte array. |
Sql |
Initializes a new instance of the SqlBytes class based on the specified SqlBinary value. |
Sql |
Initializes a new instance of the SqlBytes class based on the specified Stream value. |
Buffer |
Returns a reference to the internal buffer. |
Is |
Gets a Boolean value that indicates whether this SqlBytes is null. |
Item[Int64] |
Gets or sets the SqlBytes instance at the specified index. |
Length |
Gets the length of the value that is contained in the SqlBytes instance. |
Max |
Gets the maximum length of the value of the internal buffer of this SqlBytes. |
Null |
Gets 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. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Get |
Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Read(Int64, Byte[], Int32, Int32) |
Copies bytes from this SqlBytes instance to the passed-in buffer and returns the number of copied bytes. |
Set |
Sets the length of this SqlBytes instance. |
Set |
Sets this SqlBytes instance to null. |
To |
Constructs and returns a SqlBinary from this SqlBytes instance. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Write(Int64, Byte[], Int32, Int32) |
Copies bytes from the passed-in buffer to this SqlBytes instance. |
ISerializable. |
Gets serialization information with all the data needed to reinstantiate this SqlBytes instance. |
IXml |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXml |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXml |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: