SqlBinary.Length Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la longueur en octets de la propriété Value. Cette propriété est en lecture seule.
public:
property int Length { int get(); };
public int Length { get; }
member this.Length : int
Public ReadOnly Property Length As Integer
Valeur de propriété
Longueur des données binaires de la propriété Value.
Exceptions
Remarques
Pour éviter de déclencher un SqlNullValueException, examinez toujours la IsNull propriété avant de lire la Length propriété.