Partilhar via


Template.BaseName Property

Definition

Gets the root name of the template.

public:
 property System::String ^ BaseName { System::String ^ get(); };
public:
 property Platform::String ^ BaseName { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(40)]
public string BaseName { [System.Runtime.InteropServices.DispId(40)] get; }
[<System.Runtime.InteropServices.DispId(40)>]
[<get: System.Runtime.InteropServices.DispId(40)>]
member this.BaseName : string
Public ReadOnly Property BaseName As String

Property Value

A string representing the base name of the template.

Attributes

Remarks

If you have, for example, templates named "MyProject5" and "MyProjectStarter," then BaseName returns "MyProject."

Applies to