共用方式為


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
    Get
'用途
Dim instance As CommandBarButtonClass
Dim value As Object

value = instance.Application
public virtual Object Application { get; }
public:
virtual property Object^ Application {
    Object^ get ();
}
abstract Application : Object
override Application : Object
function get Application () : Object

Property Value

Type: System.Object
The DTE object.

Implements

_CommandBarButton.Application

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace