次の方法で共有


IVsLiteTree.ToggleExpansionAbsolute(UInt32, Int32, Int32) Method

Definition

Expands an item by selected by absolute index.

public:
 int ToggleExpansionAbsolute(System::UInt32 index, [Runtime::InteropServices::Out] int % pfCanRecurse, [Runtime::InteropServices::Out] int % pChange);
int ToggleExpansionAbsolute(unsigned int index, [Runtime::InteropServices::Out] int & pfCanRecurse, [Runtime::InteropServices::Out] int & pChange);
public int ToggleExpansionAbsolute (uint index, out int pfCanRecurse, out int pChange);
abstract member ToggleExpansionAbsolute : uint32 * int * int -> int
Public Function ToggleExpansionAbsolute (index As UInteger, ByRef pfCanRecurse As Integer, ByRef pChange As Integer) As Integer

Parameters

index
UInt32

[in] Integer. The absolute index of the node to expand.

pfCanRecurse
Int32

[out] Pointer to a Boolean. Set to true if the tree list can be recursive.

pChange
Int32

[out] Pointer to an integer. Set to zero (0) if there is no change.

Returns

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::ToggleExpansionAbsolute(  
   [in] ULONG Index,   
   [out] BOOL *pfCanRecurse,   
   [out] long *pChange  
);  

Applies to