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:
property String^ Name {
	String^ get ();
	void set (String^ value);
}

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

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: