ShellSettingsManager.GetPropertyScopes(String, String) 方法

定义

获取包含给定属性的范围。

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

参数

collectionPath
String

属性集合的路径。

propertyName
String

要搜索的属性的名称。

返回

EnclosingScopes

封闭范围。

注解

如果有多个范围包含属性,则会设置这些范围的相应位标志。

适用于