Internal specifier in C++/CLI

S

Subodh

Hi All,

I had one doubt about C++/CLI
Can we have an internal class and/or Internal member functions in a C+
+/CLI assembly (as available in C#), if possible please let me know
how do we specify the access modifiers


Thanks and Regards,
Subodh
 
G

Guest

At the outer class level, just use 'private'.
Within a class (i.e., methods, fields, and inner classes), just use
'internal'.
e.g.,
private ref class FooOuter
{
internal:
void FooMethod()
{
}

internal:
ref class FooInner
{
};
};
--
David Anton
http://www.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top