共用方式為


IVarInfo.DispID Property

Definition

Gets or sets the variable or function dispatch ID.

public:
 property System::String ^ DispID { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ DispID { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(1610743816)]
public string DispID { [System.Runtime.InteropServices.DispId(1610743816)] get; [System.Runtime.InteropServices.DispId(1610743816)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FRestricted)] set; }
[<System.Runtime.InteropServices.DispId(1610743816)>]
[<get: System.Runtime.InteropServices.DispId(1610743816)>]
[<set: System.Runtime.InteropServices.DispId(1610743816)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FRestricted)>]
member this.DispID : string with get, set
Public Property DispID As String

Property Value

The variable or function dispatch ID.

Attributes

Applies to