ScalarEncoder.Constant(Object) Methode

Definition

Codiert ein Konstantenliteral.

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)

Parameter

value
Object

Eine Konstante vom Typ Boolean, , Byte, Int16UInt16Int32SByte, , UInt32, UInt64Int64Single, , Double( Char codiert als Unicode-Zeichen mit zwei Byte), String (codiert als SerString) oder Enum (codiert als zugrunde liegende ganzzahliger Wert).

Ausnahmen

Unerwarteter Konstantentyp.

Gilt für: