共用方式為


CommandBarButtonClass.Top Property

Gets the top. This property is deprecated.

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

Syntax

'宣告
Public Overridable ReadOnly Property Top As Integer
    Get
'用途
Dim instance As CommandBarButtonClass
Dim value As Integer

value = instance.Top
public virtual int Top { get; }
public:
virtual property int Top {
    int get ();
}
abstract Top : int
override Top : int
function get Top () : int

Property Value

Type: System.Int32
The top. This property is deprecated.

Implements

_CommandBarButton.Top

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace