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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.