You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Classes > Site Class > Site Methods > GetLanguages
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Site.GetLanguages Method

Gets a list of all languages that meet a given state, for example, active.

C#
public LanguageDataSet.LanguageDataTable GetLanguages(LanguageDataSet.LanguageState State, Optional ByVal LanguageDataSet.SortBy SortBy, Optional ByVal LanguageDataSet.SortDirection SortDirection);
Visual Basic
Public Function GetLanguages(ByVal State As LanguageDataSet.LanguageState, Optional ByVal SortBy As LanguageDataSet.SortBy = LanguageDataSet.SortBy.LanguageState, Optional ByVal SortDirection As LanguageDataSet.SortDirection = LanguageDataSet.SortDirection.Ascending) As LanguageDataSet.LanguageDataTable
Parameters 
Description 
State 
The state that the language must meet. For example, defined, active, site enabled. 
SortBy 
The field on which to sort the languages in the data table. 
SortDirection 
The direction, ascending or descending, in which to sort the field values. 

LanguageDataTable of languages that meet the given state.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!