Udostępnij za pośrednictwem


IVsSettingsStore.GetSubCollectionCount(String, UInt32) Method

Definition

Returns the number of sub-collections in the specified collections.

public:
 int GetSubCollectionCount(System::String ^ collectionPath, [Runtime::InteropServices::Out] System::UInt32 % subCollectionCount);
int GetSubCollectionCount(std::wstring const & collectionPath, [Runtime::InteropServices::Out] unsigned int & subCollectionCount);
public int GetSubCollectionCount (string collectionPath, out uint subCollectionCount);
abstract member GetSubCollectionCount : string * uint32 -> int
Public Function GetSubCollectionCount (collectionPath As String, ByRef subCollectionCount As UInteger) As Integer

Parameters

collectionPath
String

[in] The path of the collection.

subCollectionCount
UInt32

[out] The number of sub-collections.

Returns

Returns S_OK if the number of sub collections was returned.

Remarks

This method is safe to access from any thread.

Applies to