다음을 통해 공유


IVsTrackSelectionEx.IsMyHierarchyCurrent Method

Determines whether the user's hierarchy is current.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function IsMyHierarchyCurrent ( _
    <OutAttribute> ByRef pfCurrent As Integer _
) As Integer
int IsMyHierarchyCurrent(
    out int pfCurrent
)
int IsMyHierarchyCurrent(
    [OutAttribute] int% pfCurrent
)
abstract IsMyHierarchyCurrent : 
        pfCurrent:int byref -> int
function IsMyHierarchyCurrent(
    pfCurrent : int
) : int

Parameters

  • pfCurrent
    Type: Int32%

    [out] Pointer to a flag that is set to true if the user's hierarchy is current and false if it is not current.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTrackSelectionEx::IsMyHierarchyCurrent(
   [out] BOOL *pfCurrent
);

.NET Framework Security

See Also

Reference

IVsTrackSelectionEx Interface

Microsoft.VisualStudio.Shell.Interop Namespace