SettingsManager.GetCollectionScopes Method

Outputs the scopes that contain the given collection.

Namespace:  Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

‘선언
Public MustOverride Function GetCollectionScopes ( _
    collectionPath As String _
) As EnclosingScopes
‘사용 방법
Dim instance As SettingsManager
Dim collectionPath As String
Dim returnValue As EnclosingScopes

returnValue = instance.GetCollectionScopes(collectionPath)
public abstract EnclosingScopes GetCollectionScopes(
    string collectionPath
)
public:
virtual EnclosingScopes GetCollectionScopes(
    String^ collectionPath
) abstract
abstract GetCollectionScopes : 
        collectionPath:string -> EnclosingScopes 
public abstract function GetCollectionScopes(
    collectionPath : String
) : EnclosingScopes

Parameters

  • collectionPath
    Type: System.String
    Path of the collection to be searched.

Return Value

Type: Microsoft.VisualStudio.Settings.EnclosingScopes
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

SettingsManager Class

SettingsManager Members

Microsoft.VisualStudio.Settings Namespace