IVsPreviewChangesList.GetExpandable Method

Determines if the specified item can be expanded.

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


Function GetExpandable ( _
    index As UInteger, _
    <OutAttribute> ByRef pfExpandable As Integer _
) As Integer
‘사용 방법
Dim instance As IVsPreviewChangesList
Dim index As UInteger
Dim pfExpandable As Integer
Dim returnValue As Integer

returnValue = instance.GetExpandable(index, _
int GetExpandable(
    uint index,
    out int pfExpandable
int GetExpandable(
    [InAttribute] unsigned int index, 
    [OutAttribute] int% pfExpandable
abstract GetExpandable : 
        index:uint32 * 
        pfExpandable:int byref -> int 
function GetExpandable(
    index : uint, 
    pfExpandable : int
) : int


  • pfExpandable
    Type: System.Int32%
    [out] Returns nonzero (TRUE) if the item can be expanded; otherwise, returns zero (FALSE).

Return Value

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


COM Signature

From vsshell80.idl:

HRESULT IVsPreviewChangesList::GetExpandable(
   [in]  ULONG  Index, 
   [out] BOOL  *pfExpandable

.NET Framework Security

See Also


IVsPreviewChangesList Interface

IVsPreviewChangesList Members

Microsoft.VisualStudio.Shell.Interop Namespace