Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Controls the animation of the icon in the status bar.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function Animation ( _
possibleOwner As SharedStatusBarOwner, _
onOff As Integer, _
ByRef icon As Object _
) As Integer
int Animation(
SharedStatusBarOwner possibleOwner,
int onOff,
ref Object icon
)
int Animation(
SharedStatusBarOwner^ possibleOwner,
int onOff,
Object^% icon
)
abstract Animation :
possibleOwner:SharedStatusBarOwner *
onOff:int *
icon:Object byref -> int
function Animation(
possibleOwner : SharedStatusBarOwner,
onOff : int,
icon : Object
) : int
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- onOff
Type: System.Int32
Set to true to turn on animation, or set to false to turn it off.
- icon
Type: System.Object%
If the VARIANT is a VT_I2, it refers to the SBAI_Index of predefined animated icons. If this parameter is a VT_I4, it refers to an HBITMAP that contains the filmstrip image for animation. The image width should be a multiple of its height.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.