Share via


IVsLiteTree.VisibleItemCount Method

Returns the number of items displayed.

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

Syntax

'Declaration
Function VisibleItemCount ( _
    <OutAttribute> ByRef pCount As UInteger _
) As Integer
int VisibleItemCount(
    out uint pCount
)
int VisibleItemCount(
    [OutAttribute] unsigned int% pCount
)
abstract VisibleItemCount : 
        pCount:uint32 byref -> int 
function VisibleItemCount(
    pCount : uint
) : int

Parameters

  • pCount
    Type: System.UInt32%
    [out] Pointer to an integer. The number of visible items in the tree list.

Return Value

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

Remarks

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::VisibleItemCount(
   [out] ULONG *pCount
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace