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
Platforms: See System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา