Type.Missing and Missing.Value
-
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
-
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
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