Skip to main content Skip to complementary content

GetAppField Method

Overloads

GetAppField(IApp, String, Boolean, Int32, String)

Get app field. The AppField instance is a session object and must be disposed to avoid session object leakage.

GetAppField(IApp, String, Boolean, Int32, String)

Get app field. The AppField instance is a session object and must be disposed to avoid session object leakage.

Declaration

      public static IAppField GetAppField(this IApp theApp, string name, bool showAlternatives = false, int pageSize = 20, string stateName = null)
    

Parameters

Type Name Description
IApp theApp

The app object. Can be omitted when calling the method as an instance method on the IApp object.

System.String name

Name of the field

System.Boolean showAlternatives

Show alternatives

System.Int32 pageSize

The size of the page returned, default 20

System.String stateName

The alternate state to use.

Returns

Type Description
IAppField

The IAppField object

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!