IRequiresCultureInfo.RequiresCultureInfo Property

Gets a value indicating whether the page should use the default culture setup of Microsoft SharePoint Foundation.

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

Syntax

'Declaration
ReadOnly Property RequiresCultureInfo As Boolean
    Get
'Usage
Dim instance As IRequiresCultureInfo
Dim value As Boolean

value = instance.RequiresCultureInfo
bool RequiresCultureInfo { get; }

Property Value

Type: System.Boolean
true if the default setup should be used; otherwise, false.

Remarks

If your implementation returns false, you must set the culture somewhere in the code for the page.

The default setup, which is used if RequiresCultureInfo returns true (or if your page does not implement IRequiresCultureInfo at all), uses the culture of the Web site.

See Also

Reference

IRequiresCultureInfo Interface

IRequiresCultureInfo Members

Microsoft.SharePoint.ApplicationRuntime Namespace