using System; namespace System.Runtime.InteropServices { /// Specifies the COM dispatch identifier (DISPID) of a method, field, or property. // Token: 0x02000309 RID: 777 [ComVisible(true)] [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event, Inherited = false)] public sealed class DispIdAttribute : Attribute { /// Initializes a new instance of the DispIdAttribute class with the specified DISPID. /// The DISPID for the member. // Token: 0x060021ED RID: 8685 RVA: 0x000793A4 File Offset: 0x000775A4 public DispIdAttribute(int dispId) { this.id = dispId; } /// Gets the DISPID for the member. /// The DISPID for the member. // Token: 0x17000649 RID: 1609 // (get) Token: 0x060021EE RID: 8686 RVA: 0x000793B4 File Offset: 0x000775B4 public int Value { get { return this.id; } } // Token: 0x04000D05 RID: 3333 private int id; } }