Share via


IDirList.get_Count(Int32) Method

Definition

Gets the number of items in the directory list.

public:
 int get_Count([Runtime::InteropServices::Out] int % nItems);
[System.Runtime.InteropServices.DispId(1610743815)]
public int get_Count (out int nItems);
[<System.Runtime.InteropServices.DispId(1610743815)>]
abstract member get_Count : int -> int
Public Function get_Count (ByRef nItems As Integer) As Integer

Parameters

nItems
Int32

[out] The number of items in the directory list.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Attributes

Applies to