blob: e8cbd5ae9b73653fea0fd346ae9751faba58131f (
plain)
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
29
|
//
// System.Runtime.InteropServices.InterfaceTypeAttribute.cs
//
// Author:
// Kevin Winchester (kwin@ns.sympatico.ca)
//
// (C) 2002 Kevin Winchester
//
namespace System.Runtime.InteropServices {
[AttributeUsage(AttributeTargets.Interface)]
public sealed class InterfaceTypeAttribute : Attribute {
private ComInterfaceType intType;
public InterfaceTypeAttribute (ComInterfaceType interfaceType){
intType = interfaceType;
}
public InterfaceTypeAttribute (short interfaceType) {
intType = (ComInterfaceType)interfaceType;
}
public ComInterfaceType Value {
get {return intType;}
}
}
}
|