Partager via


IVsLiteTree.GetExpandedAbsolute Method

Determines whether an item is expanded.

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

Syntax

'Declaration
Function GetExpandedAbsolute ( _
    AbsIndex As UInteger, _
    <OutAttribute> ByRef pfExpanded As Integer _
) As Integer
int GetExpandedAbsolute(
    uint AbsIndex,
    out int pfExpanded
)
int GetExpandedAbsolute(
    [InAttribute] unsigned int AbsIndex, 
    [OutAttribute] int% pfExpanded
)
abstract GetExpandedAbsolute : 
        AbsIndex:uint32 * 
        pfExpanded:int byref -> int
function GetExpandedAbsolute(
    AbsIndex : uint, 
    pfExpanded : int
) : int

Parameters

  • AbsIndex
    Type: UInt32

    [in] Absolute index of the item to test.

  • pfExpanded
    Type: Int32%

    [out] Pointer to Boolean. Set to true if the item is expanded.

Return Value

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

Remarks

C++From vsshell.idl:HRESULT IVsLiteTree::GetExpandedAbsolute([in] ULONG AbsIndex, [out] BOOL *pfExpanded);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace