Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Depreciated???

Depreciated???

Scheduled Pinned Locked Moved IT & Infrastructure
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pnslcs
    wrote on last edited by
    #1

    What does it mean when a method is listed as "Depreciated"? Thanks, Patrick

    S D 2 Replies Last reply
    0
    • P pnslcs

      What does it mean when a method is listed as "Depreciated"? Thanks, Patrick

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      It means that a replacement method has been created and that the depricated one should no longer be used. The idea is that eventually any methods that have been depricated may show up as compiler errors (instead of warnings) and then be removed completely. Marking the method as depricated gives you time to update the code that used the older method.

      Scott.


      —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

      1 Reply Last reply
      0
      • P pnslcs

        What does it mean when a method is listed as "Depreciated"? Thanks, Patrick

        D Offline
        D Offline
        DavidNohejl
        wrote on last edited by
        #3

        In addition to Scott's post, in .net it's done by applying ObsoleteAttribute to method.


        [My Blog]
        "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
        "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups