This documentation is archived and is not being maintained.

SPFile.SetHtmlTranslateCacheItem Method

Windows SharePoint Services 3

Puts the contents of the file into the cache for HTML translation.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public void SetHtmlTranslateCacheItem(
	string strTranslatedName,
	int jobType,
	bool fMainThicketFile,
	byte[] rgbFileContents
)

Parameters

strTranslatedName
Type: System.String
A string that contains the name of the file in the cache after it is translated.
jobType
Type: System.Int32
A 32-bit integer that uniquely identifies the type of translation.
fMainThicketFile
Type: System.Boolean
true to specify that the file is the first item that is returned when any cache item related to the file is requested; otherwise, false.
rgbFileContents
Type: []
A byte array that contains the content to store for the cache item.
Show: