Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Name Property

Gets or sets the name of the current ScriptBehaviorDescriptor instance.

Syntax

CSharp

public string Name { get; set; }

VisualBasic

Public Property Name As String

ManagedCPlusPlus

public:
String^ Name {
	String^ get ();
	void set (String^ value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

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

Remarks

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

Assembly: System.Web.Extensions (Module: System.Web.Extensions)