共用方式為


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
)

參數

  • strExtension
    Type: System.String

    包含已轉換的檔案副檔名字串。

  • strHandlerUrl
    Type: System.String

    字串,包含轉換程式的 URL。

備註

For an overview of HTML translation, see Programming with the Microsoft.HtmlTrans.Interface.

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace