ScriptControlDescriptor(String, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ScriptControlDescriptor 類別的新執行個體。
public:
ScriptControlDescriptor(System::String ^ type, System::String ^ elementID);
public ScriptControlDescriptor(string type, string elementID);
new System.Web.UI.ScriptControlDescriptor : string * string -> System.Web.UI.ScriptControlDescriptor
Public Sub New (type As String, elementID As String)
參數
- type
- String
要建立的客戶端控制物件類型。
- elementID
- String
代表要建立控制物件的 HTML 元素的 ID。