2 // System.Runtime.InteropServices.InterfaceTypeAttribute.cs
\r
5 // Kevin Winchester (kwin@ns.sympatico.ca)
\r
7 // (C) 2002 Kevin Winchester
\r
10 namespace System.Runtime.InteropServices {
\r
12 [AttributeUsage(AttributeTargets.Interface)]
\r
13 public sealed class InterfaceTypeAttribute : Attribute {
\r
15 private ComInterfaceType intType;
\r
17 public InterfaceTypeAttribute (ComInterfaceType interfaceType){
\r
18 intType = interfaceType;
\r
21 public InterfaceTypeAttribute (short interfaceType) {
\r
22 intType = (ComInterfaceType)interfaceType;
\r
25 public ComInterfaceType Value {
\r
26 get {return intType;}
\r