共用方式為


TargetControlTypeAttribute(Type) 建構函式

定義

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

public:
 TargetControlTypeAttribute(Type ^ targetControlType);
public TargetControlTypeAttribute (Type targetControlType);
new System.Web.UI.TargetControlTypeAttribute : Type -> System.Web.UI.TargetControlTypeAttribute
Public Sub New (targetControlType As Type)

參數

targetControlType
Type

目標控制項的類型。

例外狀況

targetControlTypenull

適用於