SPContentType.DocumentTemplate 属性
获取或设置内容类型的文档模板。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property DocumentTemplate As String
Get
Set
用法
Dim instance As SPContentType
Dim value As String
value = instance.DocumentTemplate
instance.DocumentTemplate = value
public string DocumentTemplate { get; set; }
属性值
类型:System.String
路径和文件名的模板。
备注
文档模板是用户请求此内容类型的新项目时,哪些SharePoint Foundation打开作为模板的文件。
此路径可以是绝对,相对于服务器的基 URL,或相对于内容类型的资源文件夹。