Share via


SettingsManager.GetPropertyScopes(String, String) Method

Definition

Outputs the scopes that contain the given property. If more than one scope contains the property, the corresponding bit flags of those scopes are set.

public:
 abstract Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract Microsoft.VisualStudio.Settings.EnclosingScopes GetPropertyScopes (string collectionPath, string propertyName);
abstract member GetPropertyScopes : string * string -> Microsoft.VisualStudio.Settings.EnclosingScopes
Public MustOverride Function GetPropertyScopes (collectionPath As String, propertyName As String) As EnclosingScopes

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property to be searched.

Returns

Enclosing scopes.

Remarks

This method is safe to access from any thread.

Applies to