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

Properties

ISkpAttributeDictionary Interface Reference

A particular type of attribute. Supports a collection of name/value pairs. More...

Inheritance diagram for ISkpAttributeDictionary:
SkpAttributeDictionary

List of all members.

Properties

BSTR Name [get]
 [propget] Returns the name of this dictionary
VARIANT Item ([in] BSTR bstrName) [get]
 [propget] Retrieves the value of the item with the given name.
long Count [get]
 The number of name value pairs in this collection.
IUnknown _NewEnum [get]
 Gets an IEnumVARIANT from the collection.

Detailed Description

A particular type of attribute. Supports a collection of name/value pairs.


Property Documentation

IUnknown ISkpAttributeDictionary::_NewEnum [get]

Gets an IEnumVARIANT from the collection.

This will return an object implementing IEnumVARIANT. Each entry in the IEnumVARIANT will be an ISkpNamedValue object.

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

The number of name value pairs in this collection.

Return values:
pVal the number of name value pairs in this collection
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_FAIL : on internal errors.
VARIANT ISkpAttributeDictionary::Item([in] BSTR bstrName) [get]

[propget] Retrieves the value of the item with the given name.

Return values:
pVal The matching value.
Returns:
S_OK : if successful
E_INVALIDARG : if there is no matching value for the given name
E_POINTER : if pVal == NULL
E_FAIL : on internal errors.
BSTR ISkpAttributeDictionary::Name [get]

[propget] Returns the name of this dictionary

Return values:
pVal The name of this dictionary.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_FAIL : on internal errors.

©2010 Google - Google Home - About Google