You may receive an error message "<Method> is not accessible in this context because it is 'Protected'" when you try to implement an interface in Visual Basic (316139)
The information in this article applies to:
- Microsoft Visual Basic 2005
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
This article was previously published under Q316139 SYMPTOMS
If you try to implement an interface, you may receive the following error message:
'
Method' is not accessible in this context because it is 'Protected'. CAUSE
This behavior occurs because the interface that you are trying to implement is marked as protected in a base class. You cannot implement a protected interface.
STATUSThis behavior is by design.
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbvs2005swept kbvs2005applies kberrmsg kbprb KB316139 kbAudDeveloper |
---|
|