次の方法で共有


SettingsManager.GetCollectionScopes Method

Outputs the scopes that contain the given collection.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'宣言
Public MustOverride Function GetCollectionScopes ( _
    collectionPath As String _
) As EnclosingScopes
public abstract EnclosingScopes GetCollectionScopes(
    string collectionPath
)

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

SettingsManager Class

Microsoft.VisualStudio.Settings Namespace