ParameterFields.Count Property

Gets the number of ParameterField objects in the collection.

Namespace CrystalDecisions.Shared Assembly CrystalDecisions.Shared (CrystalDecisions.Shared.dll)

Syntax

'Declaration

Public Overrides ReadOnly Property Count As Integer
public override int Count {get;}

Property Value

The number of items in the collection.

Example

This example shows how to get the count of parameter fields in a report document.

'Declaration

    Private Function GetParameterFieldsCount(ByVal myParameterFields As ParameterFields) _
        As Integer
      GetParameterFieldsCount = myParameterFields.Count
    End Function
    private int GetParameterFieldsCount(ParameterFields parameterFields)
    {
      return parameterFields.Count;
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 10

See Also

Reference

ParameterFields Class
ParameterFields Members
CrystalDecisions.Shared Namespace