InstallerTypeAttribute 建構函式

定義

初始化 InstallerTypeAttribute 類別的新執行個體。

多載

InstallerTypeAttribute(String)

使用元件的安裝程式型別名稱,初始化 InstallerTypeAttribute 類別的新執行個體。

InstallerTypeAttribute(Type)

當指定表示元件安裝程式的 InstallerTypeAttribute 時,初始化 Type 類別的新執行個體。

InstallerTypeAttribute(String)

來源:
InstallerTypeAttribute.cs
來源:
InstallerTypeAttribute.cs
來源:
InstallerTypeAttribute.cs

使用元件的安裝程式型別名稱,初始化 InstallerTypeAttribute 類別的新執行個體。

public:
 InstallerTypeAttribute(System::String ^ typeName);
public InstallerTypeAttribute (string typeName);
public InstallerTypeAttribute (string? typeName);
new System.ComponentModel.InstallerTypeAttribute : string -> System.ComponentModel.InstallerTypeAttribute
Public Sub New (typeName As String)

參數

typeName
String

Type 的名稱,表示這個屬性所繫結的元件安裝程式。 這個類別必須實作 IDesigner

適用於

InstallerTypeAttribute(Type)

來源:
InstallerTypeAttribute.cs
來源:
InstallerTypeAttribute.cs
來源:
InstallerTypeAttribute.cs

當指定表示元件安裝程式的 InstallerTypeAttribute 時,初始化 Type 類別的新執行個體。

public:
 InstallerTypeAttribute(Type ^ installerType);
public InstallerTypeAttribute (Type installerType);
new System.ComponentModel.InstallerTypeAttribute : Type -> System.ComponentModel.InstallerTypeAttribute
Public Sub New (installerType As Type)

參數

installerType
Type

Type,表示這個屬性所繫結的元件安裝程式。 這個類別必須實作 IDesigner

適用於