ExternalSettingsManager.GetCollectionScopes Method

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

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

Syntax

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

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

Parameters

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

Return Value

Type: Microsoft.VisualStudio.Settings.EnclosingScopes

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

ExternalSettingsManager Members

Microsoft.VisualStudio.Settings Namespace