Rediger

Del via


ScriptBehaviorDescriptor.Name Property

Definition

Gets or sets the name of the current ScriptBehaviorDescriptor instance.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

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

Applies to