Open this page in the API Guide

ModelDataExtensions.GetCultureInfo Method

Helper method to copy the culture info.

Namespace:  Dundas.BI.WebApi.Models
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
public static CultureInfo? GetCultureInfo(
	this string cultureNameSource
)

Parameters

cultureNameSource
Type: System.String
The culture name source.

Return Value

Type: CultureInfo
A CultureInfo object, or null if none is found.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also