ScalarEncoder.Constant(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encodes a constant 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)
Parameters
- value
- Object
A constant of type Boolean, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Char (encoded as a two-byte Unicode character), String (encoded as SerString), or Enum (encoded as the underlying integer value).
Exceptions
Unexpected constant type.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.