SPFile.GetHtmlTranslateCacheItem Method

Returns the contents of the file from the cache for HTML translation, excluding cache items that are older than the date the file was last modified.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Function GetHtmlTranslateCacheItem ( _
    strTranslatedName As String, _
    jobType As Integer _
) As Byte()
'Usage
Dim instance As SPFile
Dim strTranslatedName As String
Dim jobType As Integer
Dim returnValue As Byte()

returnValue = instance.GetHtmlTranslateCacheItem(strTranslatedName, _
    jobType)
public byte[] GetHtmlTranslateCacheItem(
    string strTranslatedName,
    int jobType
)

Parameters

  • strTranslatedName
    Type: System.String

    A string that contains the name of the file in the cache after it was translated.

  • jobType
    Type: System.Int32

    A value to identify the type of translation (for example, which version of Internet Explorer the conversion is for).

Return Value

Type: []
A byte array that contains the cache items.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace