編輯

共用方式為


ScriptBehaviorDescriptor(String, String) Constructor

Definition

Initializes a new instance of the ScriptBehaviorDescriptor class.

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)

Parameters

type
String

A string representation of the type of the client behavior to describe.

elementID
String

The client ID of the target control.

Exceptions

type or elementID is null or an empty string ("").

Applies to