Udostępnij za pośrednictwem


SettingsManager.GetCollectionScopes(String) Method

Definition

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.

public:
 abstract Microsoft::VisualStudio::Settings::EnclosingScopes GetCollectionScopes(System::String ^ collectionPath);
public:
 abstract Microsoft::VisualStudio::Settings::EnclosingScopes GetCollectionScopes(Platform::String ^ collectionPath);
 abstract Microsoft::VisualStudio::Settings::EnclosingScopes GetCollectionScopes(std::wstring const & collectionPath);
public abstract Microsoft.VisualStudio.Settings.EnclosingScopes GetCollectionScopes (string collectionPath);
abstract member GetCollectionScopes : string -> Microsoft.VisualStudio.Settings.EnclosingScopes
Public MustOverride Function GetCollectionScopes (collectionPath As String) As EnclosingScopes

Parameters

collectionPath
String

Path of the collection to be searched.

Returns

Enclosing scopes.

Remarks

This method is safe to access from any thread.

Applies to