共用方式為


CommandBarButtonClass.Application Property

Gets the DTE object.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Public Overridable ReadOnly Property Application As Object
public virtual Object Application { get; }

Property Value

Type: System.Object
The DTE object.

Implements

_CommandBarButton.Application

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace