Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expose C# Properties as COM Properties

Status
Not open for further replies.

Bones3

Programmer
Jul 27, 2003
151
0
0
US
How do you do it? You obviously can't place a property in an interface exposed for COM interop, and the following doesn't work either:

Code:
public interface IWhatever
{
    int nElements { get; }
}

-Bones
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top