Partager via


ShellSettingsManager.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:
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(System::String ^ collectionPath, System::String ^ propertyName);
public:
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(std::wstring const & collectionPath, std::wstring const & propertyName);
public override Microsoft.VisualStudio.Settings.EnclosingScopes GetPropertyScopes (string collectionPath, string propertyName);
override this.GetPropertyScopes : string * string -> Microsoft.VisualStudio.Settings.EnclosingScopes
Public Overrides 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

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

Applies to