ScriptBehaviorDescriptor(String, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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。
例外狀況
type 或 elementID 是 null 空字串(“”)。