Retrieves a pointer to the ITypeComp for a type library. This enables a client compiler to bind to the library’s types, variables, constants, and global functions.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
声明
Sub GetTypeComp ( _
<OutAttribute> ByRef ppTComp As ITypeComp _
)
用法
Dim instance As ITypeLib
Dim ppTComp As ITypeComp
instance.GetTypeComp(ppTComp)
void GetTypeComp(
out ITypeComp ppTComp
)
void GetTypeComp(
[OutAttribute] ITypeComp^% ppTComp
)
function GetTypeComp(
ppTComp : ITypeComp
)
Parameters
ppTComp
Type: Microsoft.VisualStudio.VsWizard.ITypeComp%The ITypeComp instance for this ITypeLib. A client compiler uses the methods in the ITypeComp interface to bind to types in ITypeLib, as well as to the global functions, variables, and constants defined in ITypeLib.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.