RegisteredScript.Key Property

 

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

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public string Key { get; }

Property Value

Type: System.String

The value of the key. This value can be null or empty.

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.

.NET Framework
Available since 3.5
Return to top
Show: