Provides access to members that manipulate a collection of objects.
Members
Name | Description | |
---|---|---|
Count | The number of objects in the array that belong to a specific class. | |
Get | Retrieves an object from the array by index. | |
Insert | Insert object into the array at the given index. | |
Remove | Removes 'count' number of objects from the array starting at the given index. | |
Set | Add an object at the given index replacing the existing object, which is returned. |
IObjects.Count Method
The number of objects in the array that belong to a specific class.
Public Function Count ( _
ByVal classFilter As UID _
) As Integer
public int Count (
UID classFilter
);
IObjects.Get Method
Retrieves an object from the array by index.
Public Function Get ( _
ByVal Index As Integer _
) As Object
public object Get (
int Index
);
IObjects.Insert Method
Insert object into the array at the given index.
Public Sub Insert ( _
ByVal Index As Integer, _
ByVal Object As Object, _
ByVal CLSID As UID _
)
public void Insert (
int Index,
object Object,
UID CLSID
);
IObjects.Remove Method
Removes 'count' number of objects from the array starting at the given index.
Public Sub Remove ( _
ByVal Index As Integer, _
ByVal Count As Integer _
)
public void Remove (
int Index,
int Count
);
IObjects.Set Method
Add an object at the given index replacing the existing object, which is returned.
Public Function Set ( _
ByVal Index As Integer, _
ByVal Object As Object, _
ByVal CLSID As UID _
) As Object
public object Set (
int Index,
object Object,
UID CLSID
);
Classes that implement IObjects
Classes | Description |
---|---|
Objects | The Objects CoClass. |