The DeleteCustomProperty method deletes the custom property for the given index
HRESULT DeleteCustomProperty(
[in] LONG p_nIndex
);
Parameters:
p_nIndex
[in] property index
Return values:
S_OK on success or COM error codeNV_NOT_INITIALIZED - Initialize was not calledNV_UNKNOWN_PROFILE - no profile loadedNV_INVALID_CUSTOM_PROPERTY - invalid custom property indexRemarks:
This method deletes the custom property at position given by p_nIndex