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. General Programming
  3. C#
  4. Type.Missing and Missing.Value

Type.Missing and Missing.Value

Scheduled Pinned Locked Moved C#
question
2 Posts 2 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.
  • A Offline
    A Offline
    adityap
    wrote on last edited by
    #1

    Hi, Can any one explain me the difference between Type.Missing and Missing.Value, if there is any? Where should we use either of them (if there are difference or otherwise)? Finally, Please explain what should be used while automating excel in the param to add method of workbook object. Thanks a lot

    D 1 Reply Last reply
    0
    • A adityap

      Hi, Can any one explain me the difference between Type.Missing and Missing.Value, if there is any? Where should we use either of them (if there are difference or otherwise)? Finally, Please explain what should be used while automating excel in the param to add method of workbook object. Thanks a lot

      D Offline
      D Offline
      Dave Doknjas
      wrote on last edited by
      #2

      They are equivalent, so it's entirely up to you. e.g., the following two display the same thing: MessageBox.Show(System.Reflection.Missing.Value.ToString()); MessageBox.Show(System.Type.Missing.ToString()); David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter and VB to C++ converter Instant J#: VB to J# converter Clear VB: Cleans up VB.NET code Clear C#: Cleans up C# code

      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