Results 1 to 3 of 3

Thread: [RESOLVED] Refactoring a Field to a Property

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662

    Resolved [RESOLVED] Refactoring a Field to a Property

    C# has a neat little feature whereas a public filed can be turned into a public property that is backed by a private field. Visual Basic doesn't seem to have a similar automated feature.

    Does anybody know of an addin or macro that will add this functionality? I'm not familiar enough with the IDE sdk to develop my own.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Refactoring a Field to a Property

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662

    Re: Refactoring a Field to a Property

    That works beautifully. Thanks.

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