共用方式為


SPThemeInfo.GetThemeFontByName method

取得指定的名稱和語言程式碼中的佈景主題字型。

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

Syntax

'宣告
Public Function GetThemeFontByName ( _
    name As String, _
    lcid As UInteger _
) As String
'用途
Dim instance As SPThemeInfo
Dim name As String
Dim lcid As UInteger
Dim returnValue As String

returnValue = instance.GetThemeFontByName(name, _
    lcid)
public string GetThemeFontByName(
    string name,
    uint lcid
)

參數

傳回值

Type: System.String
字型或a null reference (Nothing in Visual Basic)如果沒有這類字型位置已存在的名稱字串。

請參閱

參照

SPThemeInfo class

SPThemeInfo members

Microsoft.SharePoint namespace