IVsSettingsManager.GetCollectionScopes(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.