DBStatusBar.IsCurrentUser Method

Gets whether the specified user is the current user.

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 IsCurrentUser ( _
    possibleOwner As DBStatusBarOwner, _
    user As IVsStatusbarUser, _
    ByRef current As Integer _
) As Integer
'Usage
Dim instance As DBStatusBar
Dim possibleOwner As DBStatusBarOwner
Dim user As IVsStatusbarUser
Dim current As Integer
Dim returnValue As Integer

returnValue = instance.IsCurrentUser(possibleOwner, _
    user, current)
public int IsCurrentUser(
    DBStatusBarOwner possibleOwner,
    IVsStatusbarUser user,
    ref int current
)
public:
int IsCurrentUser(
    DBStatusBarOwner^ possibleOwner, 
    IVsStatusbarUser^ user, 
    int% current
)
public function IsCurrentUser(
    possibleOwner : DBStatusBarOwner, 
    user : IVsStatusbarUser, 
    current : int
) : int
member IsCurrentUser : 
        possibleOwner:DBStatusBarOwner * 
        user:IVsStatusbarUser * 
        current:int -> int 

Parameters

  • current
    Type: System.Int32%
    Resulting value is whether user is current

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DBStatusBar Class

DBStatusBar Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace