 |
| IXlsWorkbookCustomProperties |
 |
COM interface ( getting help with interfaces )
interface IXlsWorkbookCustomProperties : IDispatch
{
[id(0x00030001),propget] HRESULT Count([out, retval] long* lCount);
[id(0x00030002)] HRESULT Add([in] BSTR sPropName, [in] VARIANT* Value);
[id(0x00030003),propget] HRESULT CustomPropertyByIndex([in] int Index, [out, retval] IXlsWorkbookCustomProperty** customproperty);
[id(0x00030004),propget] HRESULT CustomPropertyByName([in] BSTR Name, [out, retval] IXlsWorkbookCustomProperty** customproperty);
}
HRESULT Count([out, retval] long* lCount);
returns the number of custom properties in the collection.
HRESULT Add([in] BSTR sPropName, [in] VARIANT* Value);
adds or sets a custom property to the document.
HRESULT CustomPropertyByIndex([in] int Index, [out, retval] IXlsWorkbookCustomProperty** customproperty);
returns a custom property using the supplied Index (starts at 1).
HRESULT CustomPropertyByName([in] BSTR Name, [out, retval] IXlsWorkbookCustomProperty** customproperty);
returns a custom property using the supplied Name.