Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Sets the method referenced by the specified IUnknown pointer as a notification callback for token remaps.
Syntax
HRESULT SetHandler (
[in] IUnknown *pUnk
);
Parameters
pUnk
[in] The handler to register.
Remarks
The metadata engine sends notification by using the method that is provided by SetHandler, to compilers that do not generate records in an optimized way and that would like to optimize saved records.
If the callback method is not provided through SetHandler, no optimization will be performed on save except where several import scopes have been merged using IMapToken on merge for each scope.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib