Template.BaseName 属性

定义

获取模板的根名称。

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

属性值

String

表示模板的基名称的字符串。

属性

注解

例如,如果具有名为 "MyProject5" 和 "MyProjectStarter" 的模板,则 BaseName 返回 "MyProject"。

适用于