ShellSettingsManager.GetCollectionScopes Method
Gets the scopes that contain the given collection.
Namespace: Microsoft.VisualStudio.Shell.Settings
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Overrides Function GetCollectionScopes ( _
collectionPath As String _
) As EnclosingScopes
public override EnclosingScopes GetCollectionScopes(
string collectionPath
)
Parameters
- collectionPath
Type: System.String
The path of the collection to be searched.
Return Value
Type: Microsoft.VisualStudio.Settings.EnclosingScopes
Remarks
If more than one scope contains the collection, 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.