編輯

共用方式為


Title.Name Property

Definition

Gets or sets the unique name of a Title object.

public:
 virtual property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public override string Name { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Name : string with get, set
Public Overrides Property Name As String

Property Value

A string value that represents the unique name of the title object.

Attributes

Remarks

The name of a title object must be unique; otherwise an exception will be thrown.

This property can be used as the indexer when you retrieve a Title object from the TitleCollection object.

If this property is set to a zero-length string, an exception will be thrown.

Applies to