48 instantiations of Variant
mscorlib (48)
microsoft\win32\oavariantlib.cs (1)
85
Variant result = new
Variant
();
system\oleautbinder.cs (1)
27
Variant myValue = new
Variant
(value);
system\variant.cs (46)
116
internal static readonly Variant Empty = new
Variant
();
117
internal static readonly Variant Missing = new
Variant
(Variant.CV_MISSING, Type.Missing, 0, 0);
118
internal static readonly Variant DBNull = new
Variant
(Variant.CV_NULL, System.DBNull.Value, 0, 0);
448
v = new
Variant
(o);
460
v = new
Variant
((Object)o);
468
v = new
Variant
(ic.ToBoolean(provider));
472
v = new
Variant
(ic.ToChar(provider));
476
v = new
Variant
(ic.ToSByte(provider));
480
v = new
Variant
(ic.ToByte(provider));
484
v = new
Variant
(ic.ToInt16(provider));
488
v = new
Variant
(ic.ToUInt16(provider));
492
v = new
Variant
(ic.ToInt32(provider));
496
v = new
Variant
(ic.ToUInt32(provider));
500
v = new
Variant
(ic.ToInt64(provider));
504
v = new
Variant
(ic.ToUInt64(provider));
508
v = new
Variant
(ic.ToSingle(provider));
512
v = new
Variant
(ic.ToDouble(provider));
516
v = new
Variant
(ic.ToDecimal(provider));
520
v = new
Variant
(ic.ToDateTime(provider));
524
v = new
Variant
(ic.ToString(provider));
552
v = new
Variant
(new DispatchWrapper(pValue));
556
v = new
Variant
(pValue);
560
v = new
Variant
(new UnknownWrapper(pValue));
564
v = new
Variant
(pValue);
570
v = new
Variant
(null);
597
v = new
Variant
(iv.ToInt16(provider));
601
v = new
Variant
(iv.ToInt32(provider));
605
v = new
Variant
(iv.ToSingle(provider));
609
v = new
Variant
(iv.ToDouble(provider));
613
v = new
Variant
(new CurrencyWrapper(iv.ToDecimal(provider)));
617
v = new
Variant
(iv.ToDateTime(provider));
621
v = new
Variant
(iv.ToString(provider));
625
v = new
Variant
(new DispatchWrapper((Object)iv));
629
v = new
Variant
(new ErrorWrapper(iv.ToInt32(provider)));
633
v = new
Variant
(iv.ToBoolean(provider));
637
v = new
Variant
((Object)iv);
641
v = new
Variant
(new UnknownWrapper((Object)iv));
645
v = new
Variant
(iv.ToDecimal(provider));
652
v = new
Variant
(iv.ToSByte(provider));
656
v = new
Variant
(iv.ToByte(provider));
660
v = new
Variant
(iv.ToUInt16(provider));
664
v = new
Variant
(iv.ToUInt32(provider));
668
v = new
Variant
(iv.ToInt64(provider));
672
v = new
Variant
(iv.ToUInt64(provider));
676
v = new
Variant
(iv.ToInt32(provider));
680
v = new
Variant
(iv.ToUInt32(provider));
14 references to Variant
mscorlib (14)
microsoft\win32\oavariantlib.cs (5)
79
internal static
Variant
ChangeType(
Variant
source, Type targetClass, short options, CultureInfo culture)
85
Variant
result = new Variant ();
133
private static extern void ChangeTypeEx(ref
Variant
result, ref
Variant
source, int lcid, IntPtr typeHandle, int cvType, short flags);
system\oleautbinder.cs (1)
27
Variant
myValue = new Variant(value);
system\variant.cs (8)
116
internal static readonly
Variant
Empty = new Variant();
117
internal static readonly
Variant
Missing = new Variant(
Variant
.CV_MISSING, Type.Missing, 0, 0);
118
internal static readonly
Variant
DBNull = new Variant(
Variant
.CV_NULL, System.DBNull.Value, 0, 0);
432
internal static void MarshalHelperConvertObjectToVariant(Object o, ref
Variant
v)
535
internal static Object MarshalHelperConvertVariantToObject(ref
Variant
v)
544
internal static void MarshalHelperCastVariant(Object pValue, int vt, ref
Variant
v)