Article ID: 935232 - Last Review: May 2, 2007 - Revision: 1.1 How to change the value of the ComVisibleAttribute attribute in Visual Studio 2005
On This PageINTRODUCTIONThis article describes how to change the value of the ComVisibleAttribute attribute in Microsoft Visual Studio 2005 for software development.
The ComVisibleAttribute attribute determines how Microsoft Component Object Model (COM) clients access the managed code. Note By default, the value of the ComVisibleAttribute attribute is True in Visual Studio 2005 and in earlier versions of Visual Studio. MORE INFORMATIONTo change the value of the ComVisibleAttribute attribute in Visual Studio 2005, use one of the following methods. Method 1: Change the value of the ComVisibleAttribute attribute at the assembly levelTo change the value of the ComVisibleAttribute attribute at the assembly level, follow these steps:
Method 2: Change the value of the ComVisibleAttribute attribute at the type levelFor information about how to change the value of the ComVisibleAttribute attribute at the type level, visit the following Microsoft Developer Network (MSDN) Web site:http://msdn2.microsoft.com/en-us/library/system.runtime.interopservices.comvisibleattribute(vs.80).aspx
(http://msdn2.microsoft.com/en-us/library/system.runtime.interopservices.comvisibleattribute(vs.80).aspx)
Note When you do not explicitly set the ComVisibleAttribute attribute for a type, the value of the ComVisibleAttribute attribute that is set at the assembly level is used as the value for that type.REFERENCESFor more information about the Assembly Information dialog box, visit the following MSDN Web site: http://msdn2.microsoft.com/en-us/library/1h52t681(VS.80).aspx
(http://msdn2.microsoft.com/en-us/library/1h52t681(VS.80).aspx)
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
