ScriptBehaviorDescriptor(String, String) 建構函式

定義

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

public:
 ScriptBehaviorDescriptor(System::String ^ type, System::String ^ elementID);
public ScriptBehaviorDescriptor(string type, string elementID);
new System.Web.UI.ScriptBehaviorDescriptor : string * string -> System.Web.UI.ScriptBehaviorDescriptor
Public Sub New (type As String, elementID As String)

參數

type
String

用字串表示來描述的客戶端行為類型。

elementID
String

目標控制的客戶端ID。

例外狀況

typeelementIDnull 空字串(“”)。

適用於