IKeyStore::ClearKeys method (dbgmodel.h)
The ClearKeys method is analogous to the ClearKeys method on IModelObject. It will remove every key from the given metadata store. This method has no effect on any parent store.
Syntax
HRESULT ClearKeys();
Return value
This method returns HRESULT that indicates success or failure.
Remarks
Code Sample
ComPtr<IKeyStore> spMetadata; /* get a metadata store */
if (SUCCEEDED(spMetadata->ClearKeys()))
{
// The metadata store is now empty. A parent store may still have keys
// and GetKey[Value] may find those keys and values.
}
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for