ScalarEncoder.Constant(Object) Metod

Definition

Kodar en konstant 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)

Parametrar

value
Object

En konstant av typen Boolean, , SByteByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, , Double( Char kodad som ett Unicode-tecken med två byte), String (kodat som SerString) eller Enum (kodat som det underliggande heltalsvärdet).

Undantag

Oväntad konstant typ.

Gäller för