Microsoft Deployment Toolkit
Documentation Library HRESULT GetProperty(size_t index, LPCTSTR propertyName, [out] LPBSTR propertyValue) |
This method gets a property from one of the DataItem elements. See Table 41 and Table 42.
Table 41. DataItem GetProperty
Parameter |
Description |
Index |
The index value (starting with 0) of the DataItem for which you want to retrieve a property value |
propertyName |
Name of the setter property for which you want to retrieve a value |
propertyValue |
On return, contains the string value of a property |
Table 42. HRESULT GetProperty
HRESULT |
Description |
S_OK |
The property was retrieved. |
E_INVALIDARG |
The index is past the end of the array. |
Related Topics