Share via


FormTemplate.Category Property

Gets or sets the category of the form template.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Property Category As String
    Get
    Set
'Usage
Dim instance As FormTemplate
Dim value As String

value = instance.Category

instance.Category = value
public string Category { get; set; }

Property Value

Type: System.String
A string representing the category to which the form template is assigned.

Remarks

The Category property is optional. It can be used to sort the available form templates on the server farm using the Manage Form Templates page on the Central Administration site.

Note   Accessing the Category property when it is null will result in an exception.

See Also

Reference

FormTemplate Class

FormTemplate Members

Microsoft.Office.InfoPath.Server.Administration Namespace