ExternalSettingsManager.GetPropertyScopes(String, String) Метод

Определение

Выводит области, которые содержат заданное свойство.

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

Параметры

collectionPath
String

Путь к коллекции свойств.

propertyName
String

Имя искомого свойства.

Возвращаемое значение

EnclosingScopes

Внешние области действия.

Комментарии

Если в нескольких областях содержится свойство, то устанавливаются соответствующие битовые флаги этих областей.

Применяется к