Returns the number of fields of the specified type.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Function fieldCount( _ 
   ByVal inType As Integer _ 
) As Integer
C#
public int fieldCount(
   int inType
)
C++
public:
 int fieldCount(
   int inType
) sealed 
J#
public int fieldCount(
   int inType
)
JScript
public  function fieldCount(
   inType : int
) : int

Parameters

inType
Specifies the type of fields to count. Possible values (defined in class ScreenUPG.ScreenUPG) include: FIELDTYPE_ANY, FIELDTYPE_PROTECTED, and FIELDTYPE_UNPROTECTED.

Return Value

The number of fields found of the specified type.

Example

[C#]

 Copy Code
            int fields = screen.fieldCount(ScreenUPG.ScreenUPG.FIELDTYPE_ANY);
            
[VB]
 Copy Code
            Dim fields As Integer
            
            fields = screen.fieldCount(3)
            

See Also