다음을 통해 공유


SPFeatureDefinition.SupportsLanguage Method

Returns a Boolean value that indicates whether the Microsoft SharePoint Foundation deployment supports the language of the specified culture.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Function SupportsLanguage ( _
    culture As CultureInfo _
) As Boolean
'Usage
Dim instance As SPFeatureDefinition
Dim culture As CultureInfo
Dim returnValue As Boolean

returnValue = instance.SupportsLanguage(culture)
public bool SupportsLanguage(
    CultureInfo culture
)

Parameters

Return Value

Type: System.Boolean
Returns true if the SharePoint Foundation deployment supports the language of the specified culture; otherwise, false.

Remarks

Features are global by default, and should support any language for which SharePoint Foundation has a language pack installed. The implementer should make sure that the Feature either ships the correct set of language-specific resource files, and/ or ships a language-neutral resource file.

See Also

Reference

SPFeatureDefinition Class

SPFeatureDefinition Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Packaging and Deploying Resources