IVsSettingsStore::GetPropertyCount Method (String^, UInt32)
Visual Studio 2015
Returns the number of properties in a specified collection.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int GetPropertyCount( String^ collectionPath, [OutAttribute] unsigned int% propertyCount )
Parameters
- collectionPath
-
Type:
System::String^
[in] The path of the collection.
- propertyCount
-
Type:
System::UInt32
[out] The number of properties in the collection.
Return Value
Type: System::Int32Returns S_OK if the property count was returned. If the collection does not exist, the method returns E_INVALIDARG.
If there is a default property in the collection, then it is added to the total number of properties.
Show: