SPFont.Open 方法 (SPFile, Boolean)
从给定 SPFile 打开 SPFont 文件对象
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function Open ( _
file As SPFile, _
readPublishedVersion As Boolean _
) As SPFont
用法
Dim file As SPFile
Dim readPublishedVersion As Boolean
Dim returnValue As SPFont
returnValue = SPFont.Open(file, readPublishedVersion)
public static SPFont Open(
SPFile file,
bool readPublishedVersion
)
参数
file
类型:Microsoft.SharePoint.SPFileSPFile 包含 SPFont XML 数据
- readPublishedVersion
类型:System.Boolean
返回值
类型:Microsoft.SharePoint.Utilities.SPFont
SPFont 对象