ITypeInfo Interface
Definição
public interface class ITypeInfo
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeInfo
public interface ITypeInfo
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
public interface ITypeInfo
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITypeInfo = interface
type ITypeInfo = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
type ITypeInfo = interface
Public Interface ITypeInfo
- Derivado
- Atributos
Comentários
Para obter mais informações, consulte a interface ITypeInfo.For more information, see ITypeInfo interface.
O Common Language Runtime gera uma exceção quando um método COM no código nativo retorna um HRESULT.The common language runtime throws an exception when a COM method in native code returns an HRESULT. Para obter mais informações, consulte como mapear HRESULTs e exceções.For more information, see How to: Map HRESULTs and Exceptions.
Métodos
| AddressOfMember(Int32, INVOKEKIND, IntPtr) |
Recupera os endereços de funções estáticas ou variáveis, como aquelas definidas em uma DLL.Retrieves the addresses of static functions or variables, such as those defined in a DLL. |
| CreateInstance(Object, Guid, Object) |
Cria uma nova instância de um tipo que descreve uma classe de componente (coclass).Creates a new instance of a type that describes a component class (coclass). |
| GetContainingTypeLib(ITypeLib, Int32) |
Recupera a biblioteca de tipos que contém essa descrição de tipo e seu índice dentro dessa biblioteca de tipos.Retrieves the type library that contains this type description and its index within that type library. |
| GetDllEntry(Int32, INVOKEKIND, IntPtr, IntPtr, IntPtr) |
Recupera uma descrição ou especificação de um ponto de entrada de uma função em uma DLL.Retrieves a description or specification of an entry point for a function in a DLL. |
| GetDocumentation(Int32, String, String, Int32, String) |
Recupera a cadeia de caracteres de documentação, o nome e o caminho completos do arquivo de Ajuda e a ID de contexto do tópico da Ajuda de uma descrição de tipo especificada.Retrieves the documentation string, the complete Help file name and path, and the context ID for the Help topic for a specified type description. |
| GetFuncDesc(Int32, IntPtr) |
Recupera a estrutura FUNCDESC que contém informações sobre uma função especificada.Retrieves the FUNCDESC structure that contains information about a specified function. |
| GetIDsOfNames(String[], Int32, Int32[]) |
Mapeia entre nomes e IDs de membro e nomes e IDs de parâmetro.Maps between member names and member IDs, and parameter names and parameter IDs. |
| GetImplTypeFlags(Int32, IMPLTYPEFLAGS) |
Recupera o valor IMPLTYPEFLAGS para uma interface ou interface base implementada em uma descrição de tipo.Retrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description. |
| GetMops(Int32, String) |
Recupera informações de marshaling.Retrieves marshaling information. |
| GetNames(Int32, String[], Int32, Int32) |
Recupera a variável com a ID do membro especificada (ou o nome da propriedade ou método e seus parâmetros) que corresponde à ID da função especificada.Retrieves the variable with the specified member ID (or the name of the property or method and its parameters) that corresponds to the specified function ID. |
| GetRefTypeInfo(Int32, ITypeInfo) |
Recupera as descrições de tipo referenciadas se uma descrição de tipo referencia outras descrições de tipo.Retrieves the referenced type descriptions if a type description references other type descriptions. |
| GetRefTypeOfImplType(Int32, Int32) |
Recupera a descrição de tipo dos tipos de interface implementados se uma descrição de tipo descreve uma classe COM.Retrieves the type description of the implemented interface types if a type description describes a COM class. |
| GetTypeAttr(IntPtr) |
Recupera uma estrutura TYPEATTR que contém os atributos da descrição de tipo.Retrieves a TYPEATTR structure that contains the attributes of the type description. |
| GetTypeComp(ITypeComp) |
Recupera a interface |
| GetVarDesc(Int32, IntPtr) |
Recupera uma estrutura |
| Invoke(Object, Int32, Int16, DISPPARAMS, IntPtr, IntPtr, Int32) |
Invoca um método ou acessa uma propriedade de um objeto que implementa a interface descrita pela descrição do tipo.Invokes a method, or accesses a property of an object, that implements the interface described by the type description. |
| ReleaseFuncDesc(IntPtr) |
Libera uma estrutura FUNCDESC retornada anteriormente pelo método GetFuncDesc(Int32, IntPtr).Releases a FUNCDESC structure previously returned by the GetFuncDesc(Int32, IntPtr) method. |
| ReleaseTypeAttr(IntPtr) |
Libera uma estrutura TYPEATTR retornada anteriormente pelo método GetTypeAttr(IntPtr).Releases a TYPEATTR structure previously returned by the GetTypeAttr(IntPtr) method. |
| ReleaseVarDesc(IntPtr) |
Libera uma estrutura |