共用方式為


OleMenuCmdEventArgs Class

The set of arguments passed to an OleMenuCommand object when the Invoke function is called.

This API is not CLS-compliant. 

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

'宣告
<CLSCompliantAttribute(False)> _
Public Class OleMenuCmdEventArgs _
    Inherits EventArgs
'用途
Dim instance As OleMenuCmdEventArgs
[CLSCompliantAttribute(false)]
public class OleMenuCmdEventArgs : EventArgs
[CLSCompliantAttribute(false)]
public ref class OleMenuCmdEventArgs : public EventArgs
[<CLSCompliantAttribute(false)>]
type OleMenuCmdEventArgs =  
    class
        inherit EventArgs
    end
public class OleMenuCmdEventArgs extends EventArgs

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Shell.OleMenuCmdEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OleMenuCmdEventArgs Members

Microsoft.VisualStudio.Shell Namespace