SPFont.Open method (SPFile, Boolean)
從指定的 SPFile 開啟 SPFont 檔案物件
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: Microsoft.SharePoint.SPFile包含 SPFont XML 資料的 SPFile
- readPublishedVersion
Type: System.Boolean
傳回值
Type: Microsoft.SharePoint.Utilities.SPFont
SPFont 物件