Directives
11.1 Early bind objects whenever possible.
When an interface call is made on an object (such as calling a method or setting a property), a number of things happen. Even though you reference a member’s name in code, it’s not what the common language runtime (CLR) uses to access an interface member. Each interface element (property, method, or event) of an object has an associated unique identifier. These IDs are what are actually used by the .NET common language runtime to reference an interface member. Visual Basic automatically assigns these IDs to your members when you compile a component.
As a Visual Basic .NET developer, you’ll probably never actually use a member ID to invoke a member of an object—you’ll always reference a member’s ...
Get Practical Standards for Microsoft® Visual Basic® .NET, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.