ParentCollection::AddItem method
Creates a parent and adds it to the ParentCollection.
Syntax
virtual HRESULT AddItem(
[in] LPCWSTR parent
) = 0;
Parameters
-
parent [in]
-
The parent.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
A ParentCollection holds data from a TestCase/Parents element.
The parent is the value of a Parents/Parent element.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|