共用方式為


ToolWindowPane.BitmapIndex Property

Gets or sets the index of the image in the bitmap strip to use for the window frame icon.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public Property BitmapIndex As Integer
    Get
    Set
'用途
Dim instance As ToolWindowPane
Dim value As Integer

value = instance.BitmapIndex

instance.BitmapIndex = value
public int BitmapIndex { get; set; }
public:
property int BitmapIndex {
    int get ();
    void set (int value);
}
member BitmapIndex : int with get, set
function get BitmapIndex () : int
function set BitmapIndex (value : int)

Property Value

Type: System.Int32
The index of the image to use for the window frame icon.

.NET Framework Security

See Also

Reference

ToolWindowPane Class

ToolWindowPane Members

Microsoft.VisualStudio.Shell Namespace