ShellSettingsManager.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.Shell.Settings
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Overrides Function GetCollectionScopes ( _
    collectionPath As String _
) As EnclosingScopes
用法
Dim instance As ShellSettingsManager
Dim collectionPath As String
Dim returnValue As EnclosingScopes

returnValue = instance.GetCollectionScopes(collectionPath)
public override EnclosingScopes GetCollectionScopes(
    string collectionPath
)
public:
virtual EnclosingScopes GetCollectionScopes(
    String^ collectionPath
) override
abstract GetCollectionScopes : 
        collectionPath:string -> EnclosingScopes 
override GetCollectionScopes : 
        collectionPath:string -> EnclosingScopes 
public override 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

ShellSettingsManager Class

ShellSettingsManager Members

Microsoft.VisualStudio.Shell.Settings Namespace