nonextensible Attribute
If a dual interface will not be extended at run time (that is, you won't provide methods or properties via IDispatch::Invoke
that are not available via the vtable), you should apply the nonextensible attribute to your interface definition. This attribute provides information to client languages (such as Visual Basic) that can be used to enable full code verification at compile time. If this attribute is not supplied, bugs may remain hidden in the client code until run time.
For more information on the nonextensible attribute and an example, see nonextensible.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för