หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Removes an IProfile object from the collection.
Syntax
HRESULT Remove
([in] IProfile* pProfile)
;
Parameters
pProfile
[in] A pointer to the IProfile object to be removed from the collection.
Return Value
The following table describes possible return values.
| Return Value | Description |
|---|---|
S_OK |
The function successfully removed the profile from the collection. |
E_INVALIDARG |
The argument is invalid. Use IErrorInfo to obtain detailed error information. |
E_WPRC_FAILED_TO_REMOVE_PROFILE |
The library failed to remove the profile from the collection. Use IErrorInfo to obtain detailed error information. |