(As I posted previously):
C++/CLI:
If a top-level type: use "private" - this will allow use from anywhere in
the assembly, but not outside of the assembly (if not top-level, use
"internal").
Managed C++ (2003):
use "public private" (the more restrictive modifier applies outside the
assembly, making it invisible outside the assembly).
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter & VB to C++ converter
Instant J#: VB to J# converter
"_iycrd" wrote:
On Wed, 8 Mar 2006 07:04:30 -0800, David Anton
<Da********@discussions.microsoft.com> wrote:
Both managed C++ (2003) and C++/CLI have the equivalent:
C++/CLI:
If a top-level type: use "private"
else: use "internal"
The 'UtilClass' in question needs to be used by multiple classes in
the same assembly, so it must be top-level. Looks like there is no
way to restrict UtilClass so it's not visible outside the assembly?