|
PartiallyComparableCollection Public Methods
|
Add
|
|
Adds an IPartiallyComparable Object to this IPartiallyComparableCollection and Returns its Position in the Collection |
Public Function Add(ByVal NewIPCObj As IPartiallyComparable) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
NewIPCObj
As
IPartiallyComparable
|
Return Value:
|
|
Int32 |
|
|
AddIfNew
|
|
Adds an IPartiallyComparable to this Collection and returns its Index provided it is not already a member; if it is a member, returns its Index |
Public Function AddIfNew(ByVal Candidate As IPartiallyComparable) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Candidate
As
IPartiallyComparable
|
Return Value:
|
|
Int32 |
|
|
AddIfNewRange
|
|
Adds to this Collection the members of a given IPartiallyComparableCollection which are new to this Collection and returns the number of IPartiallyComparables added |
Public Function AddIfNewRange(ByVal Range As PartiallyComparableCollection) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Range
As
PartiallyComparableCollection
|
Return Value:
|
|
Int32 |
|
|
AddRange
|
|
Adds the members of a given Array of IPartiallyComparable Objects to this Collection and returns the number of IPartiallyComparables added |
Public Function AddRange(ByVal Range As IPartiallyComparable[]) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Range
As
IPartiallyComparable[]
|
Return Value:
|
|
Int32 |
|
|
AddRange
|
|
Adds the members of a given IPartiallyComparableCollection to this Collection and returns the number of EGWorlds added |
Public Function AddRange(ByVal Range As PartiallyComparableCollection) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Range
As
PartiallyComparableCollection
|
Return Value:
|
|
Int32 |
|
|
Contains
|
|
Returns True iff a given IPartiallyComparable belongs to this Collection |
Public Function Contains(ByVal EGW As IPartiallyComparable) As Boolean
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
EGW
As
IPartiallyComparable
|
Return Value:
|
|
Boolean |
|
|
IndexOf
|
|
Returns the Index of a given IPartiallyComparable if it is in this Collection; else returns -1 |
Public Function IndexOf(ByVal EGW As IPartiallyComparable) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
EGW
As
IPartiallyComparable
|
Return Value:
|
|
Int32 |
|
|
Remove
|
|
Removes a given IPartiallyComparable from this Collection |
Public Sub Remove(ByVal Removee As IPartiallyComparable)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Removee
As
IPartiallyComparable
|
Return Value:
|
|
Void |
|
|
ToString
|
|
A String representation of this PartiallyComparableCollection |
Public Overrides Function ToString() As String
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
String |
|
|
|
|