An element is always represented as an IDSSElement interface. The IDSSElements interface is a collection interface.
Public Member Functions | |
| HRESULT | _NewEnum ([out, retval] IUnknown pp_NewEnum) |
| Enumerator for this collection. | |
| HRESULT | Add ([in] VARIANT *pElement,[in, defaultvalue(NULL)] IDSSAttribute *pAttribute,[out, retval] IDSSElement ppNewElement) |
| Add a member to the collection. | |
| HRESULT | AddForms ([in] IDSSAttributeForms *pForms) |
| Declare an intention to access the collection using particular forms. | |
| HRESULT | Clear () |
| Remove all members of the collection Removes all the members from the collection. | |
| HRESULT | Complete ([out, retval] VARIANT_BOOL *pComplete) |
| Indicates if the collection is totally loaded. | |
| HRESULT | Count ([out, retval] Int32 *pCount) |
| The number of elements in this collection. | |
| HRESULT | Filter ([in] IDSSFilter *pFilter) |
| Filter used to populate the collection. | |
| HRESULT | Filter ([out, retval] IDSSFilter ppFilter) |
| Filter used to populate the collection. | |
| HRESULT | Item ([in] Int32 Index,[out, retval] IDSSElement ppElement) |
| Access members of the collection. | |
| HRESULT | Limit ([in] Int32 Limit) |
| Limits the size of the collection. | |
| HRESULT | Limit ([out, retval] Int32 *pLimit) |
| Limits the size of the collection. | |
| HRESULT | NewCollection ([in, defaultvalue(NULL)] IDSSFilter *pFilter,[in, defaultvalue(0)] Int32 Limit,[in, defaultvalue(0)] Int32 Offset,[in, defaultvalue(NULL)] IDSSResolution *pResolution,[out, retval] IDSSElements ppNewCollection) |
| Gets a new collection. | |
| HRESULT | Offset ([in] Int32 Offset) |
| Offset of first element in the collection. | |
| HRESULT | Offset ([out, retval] Int32 *pOffset) |
| Offset of first element in the collection. | |
| HRESULT | Refresh ([in, defaultvalue(NULL)] IDSSFilter *pFilter,[in, defaultvalue(0)] Int32 Limit,[in, defaultvalue(0)] Int32 Offset,[in, defaultvalue(NULL)] IDSSResolution *pResolution) |
| Re-loads the collection. | |
| HRESULT | Remove ([in] VARIANT *pIndex) |
| Remove a member of the collection. | |
| HRESULT | Resolution ([in] IDSSResolution *pResolution) |
| Resolution object to be used if filter as a prompt. | |
| HRESULT | Resolution ([out, retval] IDSSResolution ppResolution) |
| Resolution object to be used if filter as a prompt. | |
|
|
Enumerator for this collection. This is the standard property used to return the objects in a collection. It returns an enumerator object. Calling methods on the enumerator object retrieves the contents of the collection.
|
|
||||||||||||||||
|
Add a member to the collection.
|
|
|
Declare an intention to access the collection using particular forms. This method indicates an intention to ask for a particular form (or forms) from the elements. It is not necessary to call this method before requesting the form directly from the element. But it is much more efficient to obtain an extra form for all the elements at once rather than doing it piecemeal. So we provide this method.
|
|
|
Remove all members of the collection Removes all the members from the collection. In most contexts the collection is read-only and this method fails. However the collection can be written to in the following contexts:
|
|
|
Indicates if the collection is totally loaded. Indicates whether this collection if fully loaded. A collection is considered incomplete if it would contain more elements if it had a bigger Limit value.
|
|
|
The number of elements in this collection. Returns the number of objects in this collection.
|
|
|
Filter used to populate the collection. The (optional) filter used to load the collection.
|
|
|
Filter used to populate the collection. The (optional) filter used to load the collection.
|
|
||||||||||||
|
Access members of the collection. Return an element from the collection, using the IDSSElement interface. The index parameter must be a number.
|
|
|
Limits the size of the collection. Upper bound on the number of elements this collection can contain.
|
|
|
Limits the size of the collection. Upper bound on the number of elements this collection can contain.
|
|
||||||||||||||||||||||||
|
Gets a new collection. Returns a new element collection with, potentially, different parameters from the original collection. This is useful for incremental fetching. For example a user could want to get a collection containing the first 10 elements of an attribute, and then another collection with the next 10 elements without losing the first collection. This can be done by calling NewCollection() on the first collection and changing the Offset.
|
|
|
Offset of first element in the collection. Offset of the first element in the collection. For example, if Offset is 100, and Limit is 100 then the collection contains elements 101 to 200 of the attribute.
|
|
|
Offset of first element in the collection. Offset of the first element in the collection. For example, if Offset is 100, and Limit is 100 then the collection contains elements 101 to 200 of the attribute.
|
|
||||||||||||||||||||
|
Re-loads the collection. This call forces the element collection to be loaded. It is useful when the user has obtained a collection, and then changes one of its parameters (e.g. Filter or Limit) and wants to reload the changed collection.
|
|
|
Remove a member of the collection. Remove an element from the collection.
|
|
|
Resolution object to be used if filter as a prompt. This property can be used to pass a resolution object to the Element Server. A resolution object is used to pre-assign values to any prompts that might appear in a filter (i.e. the filter used to populate the collection). It defaults to NULL.
|
|
|
Resolution object to be used if filter as a prompt. This property can be used to pass a resolution object to the Element Server. A resolution object is used to pre-assign values to any prompts that might appear in a filter (i.e. the filter used to populate the collection). It defaults to NULL.
|