ISettingsManager.GetSubset(String) Method

Definition

Gets a collection representing all settings whose names match the specified pattern (either an exact match or a prefix match depending on whether the pattern ends in '*', both case-insensitive).

C++/CX
public:
 Microsoft::VisualStudio::Settings::ISettingsSubset ^ GetSubset(Platform::String ^ namePattern);

Parameters

namePattern
String

The full name of a setting or a prefix ending in '*'. Case-insensitive.

Returns

The settings subset.

Exceptions

Thrown when namePattern is null.

Thrown when namePattern is empty.

Remarks

This method is safe to access from any thread.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022