InterfaceTypeAttribute Construtores

Definição

Inicializa uma nova instância da InterfaceTypeAttribute classe.

Sobrecargas

Name Description
InterfaceTypeAttribute(Int16)

Inicializa uma nova instância da InterfaceTypeAttribute classe com o membro de enumeração especificado ComInterfaceType .

InterfaceTypeAttribute(ComInterfaceType)

Inicializa uma nova instância da InterfaceTypeAttribute classe com o membro de enumeração especificado ComInterfaceType .

InterfaceTypeAttribute(Int16)

Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs

Inicializa uma nova instância da InterfaceTypeAttribute classe com o membro de enumeração especificado ComInterfaceType .

public:
 InterfaceTypeAttribute(short interfaceType);
public InterfaceTypeAttribute(short interfaceType);
new System.Runtime.InteropServices.InterfaceTypeAttribute : int16 -> System.Runtime.InteropServices.InterfaceTypeAttribute
Public Sub New (interfaceType As Short)

Parâmetros

interfaceType
Int16

Descreve como a interface deve ser exposta aos clientes COM.

Observações

Este construtor toma um inteiro subjacente de 16 bits que representa cada ComInterfaceType membro da enumeração. O Tlbimp.exe (Type Library Importer) utiliza este construtor.

Ver também

Aplica-se a

InterfaceTypeAttribute(ComInterfaceType)

Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs
Origem:
InterfaceTypeAttribute.cs

Inicializa uma nova instância da InterfaceTypeAttribute classe com o membro de enumeração especificado ComInterfaceType .

public:
 InterfaceTypeAttribute(System::Runtime::InteropServices::ComInterfaceType interfaceType);
public InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType interfaceType);
new System.Runtime.InteropServices.InterfaceTypeAttribute : System.Runtime.InteropServices.ComInterfaceType -> System.Runtime.InteropServices.InterfaceTypeAttribute
Public Sub New (interfaceType As ComInterfaceType)

Parâmetros

interfaceType
ComInterfaceType

Um dos ComInterfaceType valores que descreve como a interface deve ser exposta aos clientes COM.

Observações

Para código legível que seja menos propenso a erros, use sempre este construtor.

Aplica-se a