IMetaDataImport::IsValidToken method (rometadataapi.h)
Gets a value indicating whether the specified token holds a valid reference to a code object.
Syntax
BOOL IsValidToken(
[in] mdToken tk
);
Parameters
[in] tk
The token to check the reference validity for.
Return value
true if tk is a valid metadata token within the current scope. Otherwise, false.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.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