Share via


IVsLiteTree.GetExpandableAbsolute Method

Determines whether or not you can expand an item.

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

Syntax

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

Parameters

  • AbsIndex
    Type: System.UInt32
    [in] Absolute index of the item to check.
  • pfCanExpand
    Type: System.Int32%
    [out] Pointer to a Boolean. Set to true if you can expand the item.

Return Value

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

Remarks

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::GetExpandableAbsolute(
   [in] ULONG AbsIndex, 
   [out] BOOL *pfCanExpand
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace