Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a value indicating whether the specified token holds a valid reference to a code object.
Syntax
BOOL IsValidToken (
[in] mdToken tk
);
Parameters
tk
[in] 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
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.