GetFormCollection Method
The GetFormCollection method of the Forms service returns the URLs and types of the forms for a list.
Parameters
listName A string that contains the internal name of the list.
Return Value
An XML fragment in the following form that contains the URL and type for the form and that can be assigned to a System.Xml.XmlNode object.
<Forms xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<Form Url="Lists/List_Name/DispForm.aspx" Type="DisplayForm" />
<Form Url="Lists/List_Name/EditForm.aspx" Type="EditForm" />
<Form Url="Lists/List_Name/NewForm.aspx" Type="NewForm" />
</Forms>
Example
The following code example displays the URLs and types of the forms for a list.
This example requires that a using (C#) or Imports (Visual Basic .NET) directive be included for the System.Xml namespace.
Requirements
Platforms: Microsoft Windows Server 2003
Web Reference: http://Server_Name/[sites/][Site_Name/]_vti_bin/Forms.asmx