SPFeatureDefinition.SupportsLanguage method
會傳回Boolean值,指出Microsoft SharePoint Foundation部署是否支援指定的文化特性的語言。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function SupportsLanguage ( _
culture As CultureInfo _
) As Boolean
'用途
Dim instance As SPFeatureDefinition
Dim culture As CultureInfo
Dim returnValue As Boolean
returnValue = instance.SupportsLanguage(culture)
public bool SupportsLanguage(
CultureInfo culture
)
參數
culture
Type: System.Globalization.CultureInfoCultureInfo物件,代表要檢查的文化特性資訊。
傳回值
Type: System.Boolean
會傳回true ,如果SharePoint Foundation部署支援的語言指定的文化特性 ;否則,請false。
備註
功能會依預設,通用和也應該支援SharePoint Foundation有語言任何語言安裝套件。實作者應該確定該功能提供一組正確的特定語言的資源檔案,和/或提供非語言相關資源檔案。
請參閱
參照
Microsoft.SharePoint.Administration namespace
其他資源
封裝與部署資源