[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.Evaluation.Unchecked.VariantUncheckedExtensions

VariantUncheckedExtensions Class

Provides extension methods for accessing Variant internal fields without type checking.

Inheritance
VariantUncheckedExtensions
Namespace: GrapeCity.Enterprise.Data.Expressions.Evaluation.Unchecked
Assembly: MESCIUS.ActiveReports.Core.Data.ExpressionInfo.dll
Syntax
public static class VariantUncheckedExtensions
Remarks

WARNING: These methods bypass all type validation and directly access the underlying storage.

Use these methods only when you have already verified that the variant type is appropriate for the requested access.

Accessing these methods on incompatible types will return undefined values and may cause data corruption.

Methods

Name Description
GetDecimalUnchecked(Variant)

Gets the decimal value without type checking.

GetDoubleUnchecked(Variant)

Gets the double value without type checking.

GetEnumValueUnchecked(Variant)

Gets the int64 value of enum without type checking.

GetFloatUnchecked(Variant)

Gets the float value without type checking.

GetInt32Unchecked(Variant)

Gets the int32 value without type checking.

GetInt64Unchecked(Variant)

Gets the int64 value without type checking.

GetStringUnchecked(Variant)

Gets the string value without type checking.

GetUInt64Unchecked(Variant)

Gets the uint64 value without type checking.