Results 1 to 3 of 3

Thread: define a "friend" method?

  1. #1

    Thread Starter
    Lively Member neodatatype's Avatar
    Join Date
    Aug 2002
    Location
    Italy
    Posts
    103

    define a "friend" method?

    Hi,

    I'd like to define a class method that is visible within the class namespace, but from the outside this class does not expose that method.

    Something similar to the VB Friend keyword.

    Is it possible?

    Thanx
    > NeoDataType.net <

    Try my Free .Net Reporting Tool!

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Try the 'Internal' access modifier.

  3. #3

    Thread Starter
    Lively Member neodatatype's Avatar
    Join Date
    Aug 2002
    Location
    Italy
    Posts
    103
    Try the 'Internal' access modifier.
    Thanx again now I'll try it!
    > NeoDataType.net <

    Try my Free .Net Reporting Tool!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width