a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
497 B
C#
26 lines
497 B
C#
//
|
|
// System.Runtime.InteropServices.ComDefaultInterfaceAttribute
|
|
//
|
|
// Author:
|
|
// Kazuki Oikawa (kazuki@panicode.com)
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
[AttributeUsage (AttributeTargets.Class, Inherited = false)]
|
|
[ComVisible (true)]
|
|
public sealed class ComDefaultInterfaceAttribute : Attribute
|
|
{
|
|
Type _type;
|
|
|
|
public ComDefaultInterfaceAttribute (Type defaultInterface)
|
|
{
|
|
_type = defaultInterface;
|
|
}
|
|
|
|
public Type Value { get { return _type; }}
|
|
}
|
|
}
|