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 或空字串 ("")。

適用於