Activator._Activator.GetTypeInfo(UInt32, UInt32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the type information for an object, which can then be used to get the type information for an interface.
virtual void System.Runtime.InteropServices._Activator.GetTypeInfo(System::UInt32 iTInfo, System::UInt32 lcid, IntPtr ppTInfo) = System::Runtime::InteropServices::_Activator::GetTypeInfo;
void _Activator.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
abstract member System.Runtime.InteropServices._Activator.GetTypeInfo : uint32 * uint32 * nativeint -> unit
override this.System.Runtime.InteropServices._Activator.GetTypeInfo : uint32 * uint32 * nativeint -> unit
Sub GetTypeInfo (iTInfo As UInteger, lcid As UInteger, ppTInfo As IntPtr) Implements _Activator.GetTypeInfo
Parameters
- iTInfo
- UInt32
The type information to return.
- lcid
- UInt32
The locale identifier for the type information.
- ppTInfo
-
IntPtr
nativeint
An object that receives a pointer to the requested type information object.
Implements
Exceptions
Late-bound access using the COM IDispatch
interface is not supported.
Remarks
This method is used to access managed classes from unmanaged code, and should not be called from managed code. For more information, see IDispatch::GetTypeInfo.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應