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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.