using System;
namespace System.Runtime.InteropServices
{
/// Specifies a default interface to expose to COM. This class cannot be inherited.
// Token: 0x020002FE RID: 766
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[ComVisible(true)]
public sealed class ComDefaultInterfaceAttribute : Attribute
{
/// Initializes a new instance of the class with the specified object as the default interface exposed to COM.
/// A value indicating the default interface to expose to COM.
// Token: 0x060021D3 RID: 8659 RVA: 0x00079164 File Offset: 0x00077364
public ComDefaultInterfaceAttribute(Type defaultInterface)
{
this._type = defaultInterface;
}
/// Gets the object that specifies the default interface to expose to COM.
/// The object that specifies the default interface to expose to COM.
// Token: 0x17000642 RID: 1602
// (get) Token: 0x060021D4 RID: 8660 RVA: 0x00079174 File Offset: 0x00077374
public Type Value
{
get
{
return this._type;
}
}
// Token: 0x04000CEB RID: 3307
private Type _type;
}
}