Name | Description | |
---|---|---|
![]() | NVariant Constructor | Overloaded. |
The following tables list the members exposed by NVariant.
Name | Description | |
---|---|---|
![]() | NVariant Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() | Empty | The empty variant |
![]() ![]() | False | The false variant |
![]() ![]() | True | The true variant |
![]() ![]() | Zero | The Zero constant |
Name | Description | |
---|---|---|
![]() | IsArray | Determines whether this variant is an array |
![]() | IsBoolean | Determines whether this is a boolean variant. |
![]() | IsDateTime | Determines whether this variant is a date time variant |
![]() | IsEmpty | Determines whether this is an empty variant. |
![]() | IsMeasure | Determines whether this variant is a measure (e.g. there is a unit associated with the number) |
![]() | IsNumber | Determines whether this variant is a number (Real or Integer) |
![]() | IsNumberOrMeasure | Determines whether this variant is a number or measure variant. |
![]() | IsObject | Determines whether this variant is an object |
![]() | IsString | Determines whether this variant is a string |
Name | Description | |
---|---|---|
![]() | CompareTo | Overloaded. Compares this variant to the specified object. The object must be of NVariant type |
![]() ![]() | CreateValue | Overloaded. Tries to create an object from the specified variant, by using the object factory for the specified type. |
![]() ![]() | CreateVariant | Overloaded. Creates a variant from the specified object. |
![]() | Deserialize | |
![]() | Equals | Overriden because == operator was overriden |
![]() | GetFirstValue | Overloaded. Gets the first non array variant contained in this variant. In case this variant is not array returns the variant itself. |
![]() | GetHashCode | Overriden because Equals was overriden |
![]() | GetLastValue | Overloaded. Gets the last non array variant contained in this variant. In case this variant is not array returns the variant itself. |
![]() | GetMeasure | Gets the measure represented by this variant. |
![]() ![]() | GetObjectFactory | Given a target object type, tries to return a function that converts a variant to an object of the specified target type. |
![]() | GetVariantAt | Gets the value at the specified index. In case of a non array variant throws an exception. |
![]() | GetVariantCount | Gets the count of variants contained in this variant array. In case of a non array variant throws an exception. |
![]() ![]() | GetVariantFactory | Given a source object type, tries to return a function that converts an object to a variant. |
![]() | Serialize | |
![]() ![]() | SetObjectFactory | Sets the function that converts variants to objects of the specified type. |
![]() ![]() | SetVariantFactory | Sets the function that converts objects to variants. |
![]() | ToBoolean | Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information. |
![]() | ToByte | Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information |
![]() | ToDateTime | Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information. |
![]() | ToDecimal | Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information. |
![]() | ToDouble | Converts the value of this instance to an equivalent Double number using the specified culture-specific formatting information. |
![]() | ToInt32 | Converts the value of this instance to an equivalent Int32 number using the specified culture-specific formatting information. |
![]() | ToInt64 | Converts the value of this instance to an equivalent Int64 number using the specified culture-specific formatting information. |
![]() | ToSingle | Converts the value of this instance to an equivalent Single number using the specified culture-specific formatting information. |
![]() | ToString | Overloaded. Converts the value of this instance to an equivalent string number using the specified culture-specific formatting information. |
![]() | Arithmetic binary plus operator (defined for numbers, lengths and angles) |
![]() | Arithmetic division. Divides a by b. Applicable for all number types |
![]() | Comparison Equal To operator |
![]() | Overloaded. Cast to Boolean |
![]() | Comparison Greater Than operator |
![]() | Comparison Greater Than Or Equal To operator |
![]() | Comparison Not Equal To operator |
![]() | Comparison Less Than operator |
![]() | Comparison Less Than Or Equal To operator |
![]() | Arithmetic multiplication. Multiplies a with b. Applicable for all number types |
![]() | Arithmetic binary minus operator (defined for numbers, lengths and angles) |
![]() | Arithmetic unary minus operator (defined for signed numbers) |
![]() | Arithmetic unary plus operator operator (defined for numbers, lengths and angles) |