次の方法で共有


IVsLiteTree.GetExpandableAbsolute(UInt32, Int32) Method

Definition

Determines whether or not you can expand an item.

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

Parameters

AbsIndex
UInt32

[in] Absolute index of the item to check.

pfCanExpand
Int32

[out] Pointer to a Boolean. Set to true if you can expand the item.

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::GetExpandableAbsolute(  
   [in] ULONG AbsIndex,   
   [out] BOOL *pfCanExpand  
);  

Applies to