44 lines
1.9 KiB
C#
44 lines
1.9 KiB
C#
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Indicates which IDispatch implementation the common language runtime uses when exposing dual interfaces and dispinterfaces to COM.</summary>
|
|
// Token: 0x0200031E RID: 798
|
|
[Obsolete]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
|
|
[ComVisible(true)]
|
|
public sealed class IDispatchImplAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the IDispatchImplAttribute class with specified <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value.</summary>
|
|
/// <param name="implType">Indicates which <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> enumeration will be used. </param>
|
|
// Token: 0x06002222 RID: 8738 RVA: 0x00079778 File Offset: 0x00077978
|
|
public IDispatchImplAttribute(IDispatchImplType implType)
|
|
{
|
|
this.Impl = implType;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the IDispatchImplAttribute class with specified <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value.</summary>
|
|
/// <param name="implType">Indicates which <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> enumeration will be used. </param>
|
|
// Token: 0x06002223 RID: 8739 RVA: 0x00079788 File Offset: 0x00077988
|
|
public IDispatchImplAttribute(short implType)
|
|
{
|
|
this.Impl = (IDispatchImplType)implType;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value used by the class.</summary>
|
|
/// <returns>The <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value used by the class.</returns>
|
|
// Token: 0x17000651 RID: 1617
|
|
// (get) Token: 0x06002224 RID: 8740 RVA: 0x00079798 File Offset: 0x00077998
|
|
public IDispatchImplType Value
|
|
{
|
|
get
|
|
{
|
|
return this.Impl;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000D4B RID: 3403
|
|
private IDispatchImplType Impl;
|
|
}
|
|
}
|