SharedStatusBar.Animation-Methode

Steuert die Animation des Symbols in der Statusleiste.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Function Animation ( _
    possibleOwner As SharedStatusBarOwner, _
    fOnOff As Integer, _
    ByRef pvIcon As Object _
) As Integer
public int Animation(
    SharedStatusBarOwner possibleOwner,
    int fOnOff,
    ref Object pvIcon
)
public:
virtual int Animation(
    SharedStatusBarOwner^ possibleOwner, 
    int fOnOff, 
    Object^% pvIcon
) sealed
abstract Animation : 
        possibleOwner:SharedStatusBarOwner * 
        fOnOff:int * 
        pvIcon:Object byref -> int 
override Animation : 
        possibleOwner:SharedStatusBarOwner * 
        fOnOff:int * 
        pvIcon:Object byref -> int 
public final function Animation(
    possibleOwner : SharedStatusBarOwner, 
    fOnOff : int, 
    pvIcon : Object
) : int

Parameter

  • fOnOff
    Typ: System.Int32
    Legen Sie dies auf true fest, um die Animation zu aktivieren, oder auf false, um sie zu deaktivieren.
  • pvIcon
    Typ: System.Object%
    Wenn der VARIANT ein VT_I2 ist, verweist dies auf den SBAI_Index vordefinierter animierter Symbole.Wenn dieser Parameter ein VT_I4 ist, verweist er auf ein HBITMAP mit dem Filmstreifenbild für die Animation; dessen Breite ein Vielfaches seiner Höhe sein sollte.

Rückgabewert

Typ: System.Int32

Implementiert

ISharedStatusBar.Animation(SharedStatusBarOwner, Int32, Object%)

.NET Framework-Sicherheit

Siehe auch

Referenz

SharedStatusBar Klasse

Microsoft.VisualStudio.Data.Schema.Package.UI-Namespace