ExternalSettingsManager.GetPropertyScopes Method
Outputs the scopes that contain the given property.
Namespace: Microsoft.VisualStudio.Settings
Assemblies: Microsoft.VisualStudio.Settings.11.0 (in Microsoft.VisualStudio.Settings.11.0.dll)
Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Declaration
<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted := True)> _
Public Overrides NotOverridable Function GetPropertyScopes ( _
collectionPath As String, _
propertyName As String _
) As EnclosingScopes
[EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public override sealed EnclosingScopes GetPropertyScopes(
string collectionPath,
string propertyName
)
[EnvironmentPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
public:
virtual EnclosingScopes GetPropertyScopes(
String^ collectionPath,
String^ propertyName
) override sealed
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
abstract GetPropertyScopes :
collectionPath:string *
propertyName:string -> EnclosingScopes
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
override GetPropertyScopes :
collectionPath:string *
propertyName:string -> EnclosingScopes
public override final function GetPropertyScopes(
collectionPath : String,
propertyName : String
) : EnclosingScopes
Parameters
collectionPath
Type: System.StringThe path of the collection of the property.
propertyName
Type: System.StringThe name of the property to be searched.
Return Value
Type: Microsoft.VisualStudio.Settings.EnclosingScopes
The enclosing scopes.
Remarks
If more than one scope contains the property, the corresponding bit flags of those scopes are set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.