OleMenuCmdEventArgs Constructor (Object, IntPtr)
Initializes a new instance of OleMenuCmdEventArgs the specified in and out parameters.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Public Sub New ( _
inParam As Object, _
outParam As IntPtr _
)
'Utilisation
Dim inParam As Object
Dim outParam As IntPtr
Dim instance As New OleMenuCmdEventArgs(inParam, _
outParam)
public OleMenuCmdEventArgs(
Object inParam,
IntPtr outParam
)
public:
OleMenuCmdEventArgs(
Object^ inParam,
IntPtr outParam
)
new :
inParam:Object *
outParam:IntPtr -> OleMenuCmdEventArgs
public function OleMenuCmdEventArgs(
inParam : Object,
outParam : IntPtr
)
Parameters
- inParam
Type: System.Object
The input parameters to the command function.
- outParam
Type: System.IntPtr
A pointer to the parameter returned by the function.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.