获取库的文档模板的相对于服务器的 URL。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property ServerRelativeDocumentTemplateUrl As String
Get
用法
Dim instance As SPDocumentLibrary
Dim value As String
value = instance.ServerRelativeDocumentTemplateUrl
public string ServerRelativeDocumentTemplateUrl { get; }
属性值
类型:System.String
一个字符串,包含的 URL。如果文档模板的绝对 URL 为http://MyServer//MyWebSite/Shared Documents/Forms/template.doc,此属性返回/MyWebSite/Shared Documents/Forms/template.doc。