IVsSimplePreviewChangesList.GetExpandable(UInt32, Int32) 方法

定义

确定指定的项是否可以展开。

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

参数

index
UInt32

中项的索引。

pfExpandable
Int32

TRUE 如果项可展开,则返回非零 () ; 否则返回零 (FALSE) 。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于