[Tutor] How to create array of variants?
Kelie
kf9150 at gmail.com
Tue Jul 8 18:33:57 CEST 2008
Andre Engels <andreengels <at> gmail.com> writes:
>
> So what does the code of line.SetXData(dataType, dataValue) look like?
> >From that code you should be able to discern what argument type is
> wanted.
>
Thanks Andre. I don't know how the correct code should look like in Python. In
VB, I've posted the code in my original question. Since I'm using comtypes, I
looked up the generated module and this is what I can find about this SetXData
method:
COMMETHOD([dispid(1027), helpstring(u'Sets the extended data (XData) associated
with an object')], HRESULT, 'SetXData',
( ['in'], VARIANT, 'XDataType' ),
( ['in'], VARIANT, 'XDataValue' )),
More information about the Tutor
mailing list