C# Class System.Data.SqlTypes.SqlBinary

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

Méthodes publiques

Свойство Type Description
Null SqlBinary

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static Add ( SqlBinary x, SqlBinary y ) : SqlBinary
x SqlBinary
y SqlBinary
Résultat SqlBinary

CompareTo() public méthode

public CompareTo ( SqlBinary value ) : int
value SqlBinary
Résultat int

CompareTo() public méthode

public CompareTo ( object value ) : int
value object
Résultat int

Concat() public static méthode

public static Concat ( SqlBinary x, SqlBinary y ) : SqlBinary
x SqlBinary
y SqlBinary
Résultat SqlBinary

Equals() public static méthode

public static Equals ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
Résultat SqlBoolean

Equals() public méthode

public Equals ( object value ) : bool
value object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetXsdType() public static méthode

public static GetXsdType ( XmlSchemaSet schemaSet ) : XmlQualifiedName
schemaSet XmlSchemaSet
Résultat XmlQualifiedName

GreaterThan() public static méthode

public static GreaterThan ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
Résultat SqlBoolean

GreaterThanOrEqual() public static méthode

public static GreaterThanOrEqual ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
Résultat SqlBoolean

LessThan() public static méthode

public static LessThan ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
Résultat SqlBoolean

LessThanOrEqual() public static méthode

public static LessThanOrEqual ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
Résultat SqlBoolean

NotEquals() public static méthode

public static NotEquals ( SqlBinary x, SqlBinary y ) : SqlBoolean
x SqlBinary
y SqlBinary
Résultat SqlBoolean

SqlBinary() public méthode

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

ToSqlGuid() public méthode

public ToSqlGuid ( ) : SqlGuid
Résultat SqlGuid

ToString() public méthode

Returns a string describing a object.
public ToString ( ) : string
Résultat string

operator() public static méthode

Adds two instances of together.
public static operator ( ) : SqlBinary
Résultat SqlBinary

operator() public static méthode

Compares two instances of for equality.
public static operator ( ) : SqlBoolean
Résultat SqlBoolean

this() public méthode

public this ( int index ) : byte
index int
Résultat 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
Résultat SqlBinary