หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Gets a pointer to the TypeDef metadata token for the Type with the specified name.
Syntax
HRESULT FindTypeDefByName
[in] LPCWSTR szTypeDef,
[in] mdToken tkEnclosingClass,
[out] mdTypeDef *ptd
);
Parameters
szTypeDef
[in] The name of the type for which to get the TypeDef token.
tkEnclosingClass
[in] A TypeDef or TypeRef token representing the enclosing class. If the type to find is not a nested class, set this value to NULL.
ptd
[out] A pointer to the matching TypeDef token.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib