Share via


ExternalSettingsManager.GetCollectionScopes Method

Outputs the scopes that contain the given collection.

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 GetCollectionScopes ( _
    collectionPath As String _
) As EnclosingScopes
[EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public override sealed EnclosingScopes GetCollectionScopes(
    string collectionPath
)
[EnvironmentPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
public:
virtual EnclosingScopes GetCollectionScopes(
    String^ collectionPath
) override sealed
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
abstract GetCollectionScopes : 
        collectionPath:string -> EnclosingScopes 
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
override GetCollectionScopes : 
        collectionPath:string -> EnclosingScopes
public override final function GetCollectionScopes(
    collectionPath : String
) : EnclosingScopes

Parameters

  • collectionPath
    Type: System.String

    The path of the collection to be searched.

Return Value

Type: Microsoft.VisualStudio.Settings.EnclosingScopes
The enclosing scopes.

Remarks

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

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

Microsoft.VisualStudio.Settings Namespace