Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the number of elements in a collection.
Syntax
HRESULT get_length( long *p );
Parameters
- p
- Address of a variable that receives the length.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This property is read-write on the areas and the options collection for image maps and select boxes, respectively. This allows a developer to shrink the collection.
See Also
Sets the number of elements in a collection.
Syntax
HRESULT put_length( long v );
Parameters
- v
- Value specifying the length.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This property is read-write on the areas and the options collection for image maps and select boxes, respectively. This allows a developer to shrink the collection.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.