SPDocumentLibrary.ServerRelativeDocumentTemplateUrl property
取得伺服器相對 URL 的文件範本的文件庫。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ServerRelativeDocumentTemplateUrl As String
Get
'用途
Dim instance As SPDocumentLibrary
Dim value As String
value = instance.ServerRelativeDocumentTemplateUrl
public string ServerRelativeDocumentTemplateUrl { get; }
Property value
Type: System.String
字串,包含 URL。如果文件範本的絕對 URL 是http://MyServer//MyWebSite/Shared Documents/Forms/template.doc,則這個屬性會傳回/MyWebSite/Shared Documents/Forms/template.doc。