ScalarEncoder.Constant(Object) Méthode

Définition

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.

S’applique à