Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::IsValidToken method

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

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show: