Udostępnij za pośrednictwem


IVsSimplePreviewChangesList.GetExpandable(UInt32, Int32) Method

Definition

Determines if the specified item can be expanded.

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

Parameters

index
UInt32

[in] The index of the item.

pfExpandable
Int32

[out] Returns nonzero (TRUE) if the item can be expanded; otherwise, returns zero (FALSE).

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSimplePreviewChangesList::GetExpandable(  
   [in]  ULONG  Index,   
   [out] BOOL  *pfExpandable  
);  

Applies to