How do you expose C# properties as COM properties for a COM .dll project? 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; }
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.