Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) 메서드
정의
개체에서 노출하는 메서드와 속성에 대한 액세스를 제공합니다.Provides access to properties and methods exposed by an object.
virtual void System.Runtime.InteropServices._Attribute.Invoke(System::UInt32 dispIdMember, Guid % riid, System::UInt32 lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) = System::Runtime::InteropServices::_Attribute::Invoke;
void _Attribute.Invoke (uint dispIdMember, ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
abstract member System.Runtime.InteropServices._Attribute.Invoke : uint32 * Guid * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
override this.System.Runtime.InteropServices._Attribute.Invoke : uint32 * Guid * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
Sub Invoke (dispIdMember As UInteger, ByRef riid As Guid, lcid As UInteger, wFlags As Short, pDispParams As IntPtr, pVarResult As IntPtr, pExcepInfo As IntPtr, puArgErr As IntPtr) Implements _Attribute.Invoke
매개 변수
- dispIdMember
- UInt32
멤버를 식별합니다.Identifies the member.
- riid
- Guid
다음에 사용하도록 예약됩니다.Reserved for future use. IID_NULL이어야 합니다.Must be IID_NULL.
- lcid
- UInt32
인수를 해석할 로캘 컨텍스트입니다.The locale context in which to interpret arguments.
- wFlags
- Int16
호출의 컨텍스트를 설명하는 플래그입니다.Flags describing the context of the call.
- pDispParams
- IntPtr
인수의 배열, 명명된 인수에 대한 인수 DISPID의 배열 및 배열에 있는 요소의 개수가 포함된 구조체에 대한 포인터입니다.Pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.
- pVarResult
- IntPtr
결과를 저장할 위치에 대한 포인터입니다.Pointer to the location where the result is to be stored.
- pExcepInfo
- IntPtr
예외 정보가 포함된 구조체에 대한 포인터입니다.Pointer to a structure that contains exception information.
- puArgErr
- IntPtr
오류가 있는 첫 번째 인수의 인덱스입니다.The index of the first argument that has an error.
구현
예외
COM IDispatch
인터페이스를 사용하는 런타임에 바인딩된 액세스는 지원되지 않습니다.Late-bound access using the COM IDispatch
interface is not supported.
설명
이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.This method is for access to managed classes from unmanaged code, and should not be called from managed code. 자세한 내용은 IDispatch:: Invoke를 참조 하세요.For more information, see IDispatch::Invoke.