ScalarEncoder.Constant(Object) Methode

Definition

Codiert ein konstantes Literal.

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, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Char (als Zwei-Byte-Unicode-Zeichen codiert), String (als SerString codiert) oder Enum (als zugrunde liegender Integerwert codiert).

Ausnahmen

Unerwarteter Konstantentyp.

Gilt für