SPUtility.GetHtmlTranslateUrlFromExt method
會傳回用來處理要求,當用戶端電腦不具安裝 Microsoft Office 應用程式的後端轉換程式通用資源定位器 (URL)。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Sub GetHtmlTranslateUrlFromExt ( _
web As SPWeb, _
strExtension As String, _
<OutAttribute> ByRef strHandlerUrl As String _
)
'用途
Dim web As SPWeb
Dim strExtension As String
Dim strHandlerUrl As StringSPUtility.GetHtmlTranslateUrlFromExt(web, _
strExtension, strHandlerUrl)
public static void GetHtmlTranslateUrlFromExt(
SPWeb web,
string strExtension,
out string strHandlerUrl
)
參數
web
Type: Microsoft.SharePoint.SPWebMicrosoft.SharePoint.SPWeb 物件,代表父網站的檔案。
strExtension
Type: System.String包含已轉換的檔案副檔名字串。
strHandlerUrl
Type: System.String字串,包含轉換程式的 URL。
備註
For an overview of HTML translation, see Programming with the Microsoft.HtmlTrans.Interface.