You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > Form Class > Form Methods > GetAllForms Method > GetAllForms
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Form.GetAllForms Method (Long, String, Integer, Cms.ContentAPI.FormResultType)

Retrieves an array of all the forms contained with the specified folder. Forms may be limited to a single language and type.

C#
public FormData[] GetAllForms(Long Id, String OrderBy, int LanguageId, Cms.ContentAPI.FormResultType Type);
Visual Basic
Public Function GetAllForms(ByVal Id As Long, ByVal OrderBy As String, ByVal LanguageId As Integer, ByVal Type As Cms.ContentAPI.FormResultType) As FormData()
Parameters 
Description 
Id 
Specifies the folder. 
OrderBy 
Specifies how to sort the forms 
LanguageId 
Specifies a language or EkConstants.g_AllContentLanguages (-1) for all languages. 
Type 
Specifies whether only active forms or archived forms should be returned. 
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!