C# Class System.Variant

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
BoxEnum Object
GetI8FromVar long
GetR4FromVar float
GetR8FromVar double
InitVariant void
MarshalHelperCastVariant void
MarshalHelperConvertObjectToVariant void
MarshalHelperConvertVariantToObject Object
SetFieldsObject void
SetFieldsR4 void
SetFieldsR8 void
Variant System
Variant System

Public Methods

Method Description
ToObject ( ) : Object
Variant ( System.DateTime val ) : System
Variant ( Decimal val ) : System
Variant ( Object obj ) : System
Variant ( bool val ) : System
Variant ( byte val ) : System
Variant ( char val ) : System
Variant ( double val ) : System
Variant ( float val ) : System
Variant ( int val ) : System
Variant ( long val ) : System
Variant ( sbyte val ) : System
Variant ( short val ) : System
Variant ( uint val ) : System
Variant ( ulong val ) : System
Variant ( ushort val ) : System
Variant ( void voidPointer, Type pointerType ) : System

Private Methods

Method Description
BoxEnum ( ) : Object
GetI8FromVar ( ) : long
GetR4FromVar ( ) : float
GetR8FromVar ( ) : double
InitVariant ( ) : void
MarshalHelperCastVariant ( Object pValue, int vt, Variant &v ) : void
MarshalHelperConvertObjectToVariant ( Object o, Variant &v ) : void
MarshalHelperConvertVariantToObject ( Variant &v ) : Object
SetFieldsObject ( Object val ) : void
SetFieldsR4 ( float val ) : void
SetFieldsR8 ( double val ) : void
Variant ( ) : System
Variant ( int flags, Object or, int data1, int data2 ) : System

Method Details

ToObject() public method

public ToObject ( ) : Object
return Object

Variant() public method

public Variant ( System.DateTime val ) : System
val System.DateTime
return System

Variant() public method

public Variant ( Decimal val ) : System
val Decimal
return System

Variant() public method

public Variant ( Object obj ) : System
obj Object
return System

Variant() public method

public Variant ( bool val ) : System
val bool
return System

Variant() public method

public Variant ( byte val ) : System
val byte
return System

Variant() public method

public Variant ( char val ) : System
val char
return System

Variant() public method

public Variant ( double val ) : System
val double
return System

Variant() public method

public Variant ( float val ) : System
val float
return System

Variant() public method

public Variant ( int val ) : System
val int
return System

Variant() public method

public Variant ( long val ) : System
val long
return System

Variant() public method

public Variant ( sbyte val ) : System
val sbyte
return System

Variant() public method

public Variant ( short val ) : System
val short
return System

Variant() public method

public Variant ( uint val ) : System
val uint
return System

Variant() public method

public Variant ( ulong val ) : System
val ulong
return System

Variant() public method

public Variant ( ushort val ) : System
val ushort
return System

Variant() public method

public Variant ( void voidPointer, Type pointerType ) : System
voidPointer void
pointerType Type
return System