ScriptBehaviorDescriptor.Name Property

 

Gets or sets the name of the current ScriptBehaviorDescriptor instance.

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

public string Name { get; set; }

Property Value

Type: System.String

The name of the current ScriptBehaviorDescriptor instance, if set; otherwise, a generated name.

If the Name property has not been set, getting the property will set it to a generated value that consists of the last segment of the type argument that is passed to the constructor. For example, if type is "System.Object", the Name property defaults to "Object".

.NET Framework
Available since 3.5
Return to top
Show: