DBStatusBar.Animation Method
Controls the animation of the icon in the status bar.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Function Animation ( _
possibleOwner As DBStatusBarOwner, _
fOnOff As Integer, _
ByRef pvIcon As Object _
) As Integer
'Usage
Dim instance As DBStatusBar
Dim possibleOwner As DBStatusBarOwner
Dim fOnOff As Integer
Dim pvIcon As Object
Dim returnValue As Integer
returnValue = instance.Animation(possibleOwner, _
fOnOff, pvIcon)
public int Animation(
DBStatusBarOwner possibleOwner,
int fOnOff,
ref Object pvIcon
)
public:
virtual int Animation(
DBStatusBarOwner^ possibleOwner,
int fOnOff,
Object^% pvIcon
) sealed
public final function Animation(
possibleOwner : DBStatusBarOwner,
fOnOff : int,
pvIcon : Object
) : int
abstract Animation :
possibleOwner:DBStatusBarOwner *
fOnOff:int *
pvIcon:Object -> int
override Animation :
possibleOwner:DBStatusBarOwner *
fOnOff:int *
pvIcon:Object -> int
Parameters
- possibleOwner
Type: Microsoft.Data.Schema.Sql.Common.UI.DBStatusBarOwner
The possible owner
- fOnOff
Type: System.Int32
Turns the animation on and off
- pvIcon
Type: System.Object%
The icon
Return Value
Type: System.Int32
Returns NativeMethods.S_OK.
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace