C# Class System.Data.SqlTypes.SqlBinary

Represents a variable-length stream of binary data to be stored in or retrieved from a database.
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Null SqlBinary

Public Methods

Method Description
Add ( SqlBinary x, SqlBinary y ) : SqlBinary
CompareTo ( SqlBinary value ) : int
CompareTo ( object value ) : int
Concat ( SqlBinary x, SqlBinary y ) : SqlBinary
Equals ( SqlBinary x, SqlBinary y ) : SqlBoolean
Equals ( object value ) : bool
GetHashCode ( ) : int
GetXsdType ( XmlSchemaSet schemaSet ) : XmlQualifiedName
GreaterThan ( SqlBinary x, SqlBinary y ) : SqlBoolean
GreaterThanOrEqual ( SqlBinary x, SqlBinary y ) : SqlBoolean
LessThan ( SqlBinary x, SqlBinary y ) : SqlBoolean
LessThanOrEqual ( SqlBinary x, SqlBinary y ) : SqlBoolean
NotEquals ( SqlBinary x, SqlBinary y ) : SqlBoolean
SqlBinary ( byte value ) : System.Data.Common

Initializes a new instance of the class with a binary object to be stored.

ToSqlGuid ( ) : SqlGuid
ToString ( ) : string

Returns a string describing a object.

operator ( ) : SqlBinary

Adds two instances of together.

operator ( ) : SqlBoolean

Compares two instances of for equality.

this ( int index ) : byte

Private Methods

Method Description
HashByteArray ( byte rgbValue, int length ) : int
IXmlSerializable ( ) : XmlSchema
IXmlSerializable ( XmlReader reader ) : void
IXmlSerializable ( XmlWriter writer ) : void
PerformCompareByte ( byte x, byte y ) : EComparison
SqlBinary ( bool fNull ) : System.Data.Common
SqlBinary ( byte value, bool ignored ) : System.Data.Common

Initializes a new instance of the class with a binary object to be stored. This constructor will not copy the value.

Method Details

Add() public static method

public static Add ( SqlBinary x, SqlBinary y ) : SqlBinary
x SqlBinary
y SqlBinary
return SqlBinary

CompareTo() public method

public CompareTo ( SqlBinary value ) : int
value SqlBinary
return int

CompareTo() public method

public CompareTo ( object value ) : int
value object
return int

Concat() public static method

public static Concat ( SqlBinary x, SqlBinary y ) : SqlBinary
x SqlBinary
y SqlBinary
return SqlBinary

Equals() public static method

public static Equals ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
return SqlBoolean

Equals() public method

public Equals ( object value ) : bool
value object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetXsdType() public static method

public static GetXsdType ( XmlSchemaSet schemaSet ) : XmlQualifiedName
schemaSet XmlSchemaSet
return XmlQualifiedName

GreaterThan() public static method

public static GreaterThan ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
return SqlBoolean

GreaterThanOrEqual() public static method

public static GreaterThanOrEqual ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
return SqlBoolean

LessThan() public static method

public static LessThan ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
return SqlBoolean

LessThanOrEqual() public static method

public static LessThanOrEqual ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
return SqlBoolean

NotEquals() public static method

public static NotEquals ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
return SqlBoolean

SqlBinary() public method

Initializes a new instance of the class with a binary object to be stored.
public SqlBinary ( byte value ) : System.Data.Common
value byte
return System.Data.Common

ToSqlGuid() public method

public ToSqlGuid ( ) : SqlGuid
return SqlGuid

ToString() public method

Returns a string describing a object.
public ToString ( ) : string
return string

operator() public static method

Adds two instances of together.
public static operator ( ) : SqlBinary
return SqlBinary

operator() public static method

Compares two instances of for equality.
public static operator ( ) : SqlBoolean
return SqlBoolean

this() public method

public this ( int index ) : byte
index int
return byte

Property Details

Null public_oe static_oe property

Represents a null value that can be assigned to the property of an instance of the class.
public static SqlBinary,System.Data.SqlTypes Null
return SqlBinary