34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Marshals data of type VT_VARIANT | VT_BYREF from managed to unmanaged code. This class cannot be inherited.</summary>
|
|
// Token: 0x02000367 RID: 871
|
|
[Serializable]
|
|
public sealed class VariantWrapper
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.VariantWrapper" /> class for the specified <see cref="T:System.Object" /> parameter.</summary>
|
|
/// <param name="obj">The object to marshal. </param>
|
|
// Token: 0x060023AC RID: 9132 RVA: 0x0007AB78 File Offset: 0x00078D78
|
|
public VariantWrapper(object obj)
|
|
{
|
|
this._wrappedObject = obj;
|
|
}
|
|
|
|
/// <summary>Gets the object wrapped by the <see cref="T:System.Runtime.InteropServices.VariantWrapper" /> object.</summary>
|
|
/// <returns>The object wrapped by the <see cref="T:System.Runtime.InteropServices.VariantWrapper" /> object.</returns>
|
|
// Token: 0x17000663 RID: 1635
|
|
// (get) Token: 0x060023AD RID: 9133 RVA: 0x0007AB88 File Offset: 0x00078D88
|
|
public object WrappedObject
|
|
{
|
|
get
|
|
{
|
|
return this._wrappedObject;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000E91 RID: 3729
|
|
private object _wrappedObject;
|
|
}
|
|
}
|