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: System.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: System.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
- 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.