Go to Google Code Home
Google SketchUp SkpReader C++ API Documentation (Labs)

Properties

ISkpNamedValues Interface Reference

The ISkpNamedValues interface - a collection of ISkpNamedValue objects. More...

List of all members.

Properties

long Count [get]
 [propget] The number of entities in this collection
IUnknown _NewEnum [get]
 [propget] Gets an IEnumVARIANT from the collection
ISkpNamedValue Item ([in] long nIndex) [get]
 [propget] Gets the ith item from the collection
VARIANT Value ([in] BSTR valueName) [get]
 [propget] Gets the value of the item in the collection with the given name.

Detailed Description

The ISkpNamedValues interface - a collection of ISkpNamedValue objects.


Property Documentation

IUnknown ISkpNamedValues::_NewEnum [get]

[propget] Gets an IEnumVARIANT from the collection

Return values:
pVal The IEnumVARIANT interface
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_UNEXPECTED : indicates unexpected internal errors
long ISkpNamedValues::Count [get]

[propget] The number of entities in this collection

Return values:
pVal the number of ISkpNamedValues in this collection
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
ISkpNamedValue ISkpNamedValues::Item([in] long nIndex) [get]

[propget] Gets the ith item from the collection

Parameters:
nIndex the 0-based index of the desired item.
Return values:
pVal The ISkpNamedValue at the given index
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_UNEXPECTED : indicates unexpected internal errors
E_INVALIDARG : nIndex is < 0 or > Count of this collection.
VARIANT ISkpNamedValues::Value([in] BSTR valueName) [get]

[propget] Gets the value of the item in the collection with the given name.

If more than one item exist in the collection with the same name, the first item found is returned. There is no guarantee as to the order of the items in the collection.

Parameters:
valueName The name of the desired element
Return values:
pVal The value of the item with the given name
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_UNEXPECTED : indicates unexpected internal errors
E_INVALIDARG : there is no matching item in the collection with the given name

©2010 Google - Google Home - About Google