共用方式為


ShellSettingsManager.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:
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetCollectionScopes(System::String ^ collectionPath);
public:
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetCollectionScopes(Platform::String ^ collectionPath);
 override Microsoft::VisualStudio::Settings::EnclosingScopes GetCollectionScopes(std::wstring const & collectionPath);
public override Microsoft.VisualStudio.Settings.EnclosingScopes GetCollectionScopes (string collectionPath);
override this.GetCollectionScopes : string -> Microsoft.VisualStudio.Settings.EnclosingScopes
Public Overrides 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