Share via


UserInteractionServices.GetModelCollation Method

Returns a ModelCollation object for the provided culture ID and case sensitivity indication.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Shared Function GetModelCollation ( _
    lcid As Integer, _
    caseSensitive As Boolean _
) As ModelCollation
public static ModelCollation GetModelCollation(
    int lcid,
    bool caseSensitive
)
public:
static ModelCollation^ GetModelCollation(
    int lcid, 
    bool caseSensitive
)
static member GetModelCollation : 
        lcid:int * 
        caseSensitive:bool -> ModelCollation 
public static function GetModelCollation(
    lcid : int, 
    caseSensitive : boolean
) : ModelCollation

Parameters

  • lcid
    Type: System.Int32
    An int that represents the ID for the culture.
  • caseSensitive
    Type: System.Boolean
    true to specify case sensitive; false to specify case insensitive.

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelCollation
The requested collation.

.NET Framework Security

See Also

Reference

UserInteractionServices Class

Microsoft.Data.Schema Namespace

ModelCollation