IDispatchImplAttribute Construtores

Definição

Inicializa uma nova instância da classe IDispatchImplAttribute.

Sobrecargas

IDispatchImplAttribute(Int16)

Inicializa uma nova instância da classe IDispatchImplAttribute com o valor IDispatchImplType especificado.

IDispatchImplAttribute(IDispatchImplType)

Inicializa uma nova instância da classe IDispatchImplAttribute com o valor IDispatchImplType especificado.

IDispatchImplAttribute(Int16)

Origem:
IDispatchImplAttribute.cs

Inicializa uma nova instância da classe IDispatchImplAttribute com o valor IDispatchImplType especificado.

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

Parâmetros

implType
Int16

Indica qual enumeração de IDispatchImplType será usada.

Comentários

Esse construtor usa um inteiro com sinal de 16 bits subjacente que representa cada IDispatchImplType membro de enumeração. O Importador da Biblioteca de Tipos (TlbImp.exe) usa esse construtor para evitar gerar um typeref para o IDispatchImplType valor que value representa e, em seguida, compila a assinatura com esse token.

Aplica-se a

IDispatchImplAttribute(IDispatchImplType)

Origem:
IDispatchImplAttribute.cs

Inicializa uma nova instância da classe IDispatchImplAttribute com o valor IDispatchImplType especificado.

public:
 IDispatchImplAttribute(System::Runtime::InteropServices::IDispatchImplType implType);
public IDispatchImplAttribute (System.Runtime.InteropServices.IDispatchImplType implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : System.Runtime.InteropServices.IDispatchImplType -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As IDispatchImplType)

Parâmetros

implType
IDispatchImplType

Indica qual enumeração de IDispatchImplType será usada.

Comentários

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

Aplica-se a