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)


Function VisibleItemCount ( _
    <OutAttribute> ByRef pCount As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsLiteTree
Dim pCount As UInteger
Dim returnValue As Integer

returnValue = instance.VisibleItemCount(pCount)
int VisibleItemCount(
    out uint pCount
int VisibleItemCount(
    [OutAttribute] unsigned int% pCount
abstract VisibleItemCount : 
        pCount:uint32 byref -> int 
function VisibleItemCount(
    pCount : uint
) : int


  • 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.



From vsshell.idl:

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

.NET Framework Security

See Also


IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace