ParameterBuilder._ParameterBuilder.GetIDsOfNames 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。
virtual void System.Runtime.InteropServices._ParameterBuilder.GetIDsOfNames(Guid % riid, IntPtr rgszNames, System::UInt32 cNames, System::UInt32 lcid, IntPtr rgDispId) = System::Runtime::InteropServices::_ParameterBuilder::GetIDsOfNames;
void _ParameterBuilder.GetIDsOfNames(ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
abstract member System.Runtime.InteropServices._ParameterBuilder.GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
override this.System.Runtime.InteropServices._ParameterBuilder.GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
Sub GetIDsOfNames (ByRef riid As Guid, rgszNames As IntPtr, cNames As UInteger, lcid As UInteger, rgDispId As IntPtr) Implements _ParameterBuilder.GetIDsOfNames
參數
- riid
- Guid
保留供未來使用。 一定是IID_NULL。
- rgszNames
-
IntPtr
nativeint
傳入的待映射名稱陣列。
- cNames
- UInt32
統計要繪製的名稱數量。
- lcid
- UInt32
解釋這些名稱的地點背景。
- rgDispId
-
IntPtr
nativeint
呼叫者分配的陣列,接收對應名稱的 ID。
實作
例外狀況
此方法稱為使用COM IDispatch 介面的晚界(late-bound)。
備註
此方法用於從非受管理程式碼存取受管理類別,不應從受管理程式碼呼叫。 欲了解更多資訊,請參閱 IDispatch::GetIDsOfNames。