Template.BaseName 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取模板的根名称。
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
属性值
表示模板的基名称的字符串。
- 属性
注解
例如,如果具有名为 "MyProject5" 和 "MyProjectStarter" 的模板,则 BaseName 返回 "MyProject"。