Поделиться через


SetHtmlTranslateCacheItem Method

The SetHtmlTranslateCacheItem method of the SPFile class puts the contents of the file into the cache for HTML translation.

Parameters

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

jobType   A 32-bit integer that uniquely identifies the type of translation (for example, whether the conversion is for Microsoft Internet Explorer 5.01 or later or for Microsoft Internet Explorer 5.0 or earlier).

fMainThicketFile  true to specify that the file is the first item returned when any cache item related to the file is requested; otherwise, false.

rgbFileContents   A byte array that contains the content to store for the cache item.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security