This documentation is archived and is not being maintained.

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".

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5