Freigeben über


ExternalSettingsManager.GetPropertyScopes(String, String) Method

Definition

Outputs the scopes that contain the given property.

public:
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(System::String ^ collectionPath, System::String ^ propertyName);
public:
 override sealed Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 override sealed Microsoft::VisualStudio::Settings::EnclosingScopes GetPropertyScopes(std::wstring const & collectionPath, std::wstring const & propertyName);
public override sealed Microsoft.VisualStudio.Settings.EnclosingScopes GetPropertyScopes (string collectionPath, string propertyName);
override this.GetPropertyScopes : string * string -> Microsoft.VisualStudio.Settings.EnclosingScopes
Public Overrides NotOverridable Function GetPropertyScopes (collectionPath As String, propertyName As String) As EnclosingScopes

Parameters

collectionPath
String

The path of the collection of the property.

propertyName
String

The name of the property to be searched.

Returns

The enclosing scopes.

Remarks

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

Applies to