Share via


Declarations.GetCount Method

Definition

When implemented in a derived class, gets the number of items in the list of declarations.

public:
 abstract int GetCount();
public:
 abstract int GetCount();
 abstract int GetCount();
public abstract int GetCount ();
abstract member GetCount : unit -> int
Public MustOverride Function GetCount () As Integer

Returns

The count of items represented by this Declarations class.

Remarks

How the declarations are stored is dependent on your implementation of the Declarations class. Note, however, that the GetBestMatch method assumes the list is sorted in ascending order.

Applies to