.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Sgraph Infotech
Imran Ghani
Post New Web Links

ClassInterfaceType

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net
 

Hi,

I am including 

[ClassInterface(ClassInterfaceType.AutoDual)] attritube to my .net class for calling the .net class in the COM environment. Now,the interoperability is fine and able to call the c# classes in to my COM.But, can we have any setting or property in c# which doesn't take [ClassInterface(ClassInterfaceType.AutoDual)] explicitly at the class level. Can we prevent this attritube [ClassInterface(ClassInterfaceType.AutoDual)] and have any setting to set this attribute in the c# without mentioning at the class level.

-Shanenarrifield




View Complete Post


More Related Resource Links

ClassInterfaceType

  

Hi,

I am including 

[ClassInterface(ClassInterfaceType.AutoDual)] attritube to my .net class for calling the .net class in the COM environment. Now,the interoperability is fine and able to call the c# classes in to my COM.But, can we have any setting or property in c# which doesn't take [ClassInterface(ClassInterfaceType.AutoDual)] explicitly at the class level. Can we prevent this attritube [ClassInterface(ClassInterfaceType.AutoDual)] and have any setting to set this attribute in the c# without mentioning at the class level.

-Shanenarrifield


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend