ScalarEncoder.Constant(Object) Méthode
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.
Encode un littéral constant.
public:
void Constant(System::Object ^ value);
public void Constant(object? value);
public void Constant(object value);
member this.Constant : obj -> unit
Public Sub Constant (value As Object)
Paramètres
- value
- Object
Constante de type Boolean, SByteInt16ByteUInt16Int32SingleDoubleUInt64UInt32Int64( Char encodée en tant que caractère Unicode à deux octets), String (encodée en tant que SerString) ou Enum (encodée en tant que valeur entière sous-jacente).
Exceptions
Type constant inattendu.