blob: 139c331bb53035bf2ee7c90a0d90c0a57ad87420 (
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
|
//
// System.Runtime.InteropServices.DispIdAttribute.cs
//
// Name: Duncan Mak (duncan@ximian.com)
//
// (C) Ximian, Inc.
namespace System.Runtime.InteropServices {
[AttributeUsage (AttributeTargets.Method | AttributeTargets.Property |
AttributeTargets.Field | AttributeTargets.Event)]
public sealed class DispIdAttribute : Attribute
{
int id;
public DispIdAttribute (int dispId)
{
id = dispId;
}
public int Value {
get { return id; }
}
}
}
|