1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
//
// System.Runtime.InteropServices.ComDefaultInterfaceAttribute
//
// Author:
// Kazuki Oikawa (kazuki@panicode.com)
//
#if NET_2_0
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; }}
}
}
#endif
|