Partager via


IVsSettingsManager.GetCollectionScopes(String, UInt32) Method

Definition

Returns flags about the scopes for a specified collection.

public:
 int GetCollectionScopes(System::String ^ collectionPath, [Runtime::InteropServices::Out] System::UInt32 % scopes);
int GetCollectionScopes(std::wstring const & collectionPath, [Runtime::InteropServices::Out] unsigned int & scopes);
public int GetCollectionScopes (string collectionPath, out uint scopes);
abstract member GetCollectionScopes : string * uint32 -> int
Public Function GetCollectionScopes (collectionPath As String, ByRef scopes As UInteger) As Integer

Parameters

collectionPath
String

[in] The path to the collections file.

scopes
UInt32

[out] The __VsEnclosingScopes for the collections.

Returns

Returns S_OK if the scope for the collection was returned.

Remarks

This method is safe to access from any thread.

Applies to