|
HookCollection Public Methods
|
Add
|
|
Adds a new Hook to this Collection and returns its position |
Public Function Add(ByVal NewHook As Hook) As Object
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
NewHook
As
Hook
|
Return Value:
|
|
Object |
|
|
AddAt
|
|
Adds a new Hook to this Collection at a given position |
Public Sub AddAt(ByVal Index As Int32, ByVal NewHook As Hook)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Index
As
Int32
ByVal
NewHook
As
Hook
|
Return Value:
|
|
Void |
|
|
AddIfNew
|
|
Adds a Hook to this Collection and Returns its position if it isn not already there; else, Returns its position |
Public Function AddIfNew(ByVal Candidate As Hook) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Candidate
As
Hook
|
Return Value:
|
|
Int32 |
|
|
AddRange
|
|
Adds a HookCollection to this Collection |
Public Sub AddRange(ByVal HCol As HookCollection)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
HCol
As
HookCollection
|
Return Value:
|
|
Void |
|
|
AddRange
|
|
Adds an Array of Hooks to this Collection |
Public Sub AddRange(ByVal HookArray As Hook[])
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
HookArray
As
Hook[]
|
Return Value:
|
|
Void |
|
|
Clone
|
|
Creates a Shallow Copy of this Collection |
Public Function Clone() As HookCollection
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
HookCollection |
|
|
Contains
|
|
Returns True iff this Collection Contains a given Hook |
Public Function Contains(ByVal H As Hook) As Boolean
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
H
As
Hook
|
Return Value:
|
|
Boolean |
|
|
IndexOf
|
|
Returns The index of H if found in the list; otherwise, -1 |
Public Function IndexOf(ByVal H As Hook) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
H
As
Hook
|
Return Value:
|
|
Int32 |
|
|
Remove
|
|
Removes a given Hook from this Collection |
Public Sub Remove(ByVal Removee As Hook)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Removee
As
Hook
|
Return Value:
|
|
Void |
|
|
ToArray
|
|
Converts this Collection to an Array of Hooks |
Public Function ToArray(ByRef HookArray As Hook[]) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByRef
HookArray
As
Hook[]
|
Return Value:
|
|
Int32 |
|
|
ToString
|
|
Returns a String Representing this HookCollection; has option of printing on Multiple Lines |
Public Overloads Function ToString(ByVal MultiLine As Boolean) As String
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
MultiLine
As
Boolean
|
Return Value:
|
|
String |
|
|
ToString
|
|
Returns a String representing this HookCollection |
Public Overloads Overrides Function ToString() As String
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
String |
|
|
|
|