संपादित करें

इसके माध्यम से साझा किया गया


RegisteredScript Class

Definition

Provides access to a client script that was previously registered with the Page object.

public ref class RegisteredScript sealed
public sealed class RegisteredScript
type RegisteredScript = class
Public NotInheritable Class RegisteredScript
Inheritance
RegisteredScript

Remarks

A client script is uniquely identified by its key and its type. Only one script with a given key/type pair can be registered with a page.

Client scripts are not guaranteed to be output in the order that they are registered in.

Properties

AddScriptTags

Gets a value that indicates whether the script block should be rendered on the Web page enclosed in <script> tags.

Control

Gets the control that registered the script.

Key

Gets the key that, together with the Type value, identifies the script.

Script

Gets the file name of the script.

ScriptType

Gets the script type that indicates when the script is intended to be executed.

Type

Gets the client script type that, together with the Key value, identifies the script.

Url

Gets the URL of the script file.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also