SPFile.SetHtmlTranslateCacheItem 方法
该文件的内容保存到缓存中的 HTML 转换。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
声明
Public Sub SetHtmlTranslateCacheItem ( _
strTranslatedName As String, _
jobType As Integer, _
fMainThicketFile As Boolean, _
rgbFileContents As Byte() _
)
用法
Dim instance As SPFile
Dim strTranslatedName As String
Dim jobType As Integer
Dim fMainThicketFile As Boolean
Dim rgbFileContents As Byte()
instance.SetHtmlTranslateCacheItem(strTranslatedName, _
jobType, fMainThicketFile, rgbFileContents)
public void SetHtmlTranslateCacheItem(
string strTranslatedName,
int jobType,
bool fMainThicketFile,
byte[] rgbFileContents
)
strTranslatedName
类型:System.String它转换后的缓存中的文件的名称。
jobType
类型:System.Int32一个值来标识的翻译类型 (例如,Internet Explorer 将文件转换为其的版本)。
fMainThicketFile
类型:System.Booleantrue指定的文件与文件有关的任何缓存项请求 ; 时返回的第一个项目否则为false。
rgbFileContents
类型:[]要存储的缓存项的文件的二进制内容。