IVsSettingsManager::GetCollectionScopes Method (String^, UInt32)

 

Returns flags about the scopes for a specified collection.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetCollectionScopes(
	String^ collectionPath,
	[OutAttribute] unsigned int% scopes
)

Parameters

collectionPath
Type: System::String^

[in] The path to the collections file.

scopes
Type: System::UInt32

[out] The __VsEnclosingScopes for the collections.

Return Value

Type: System::Int32

Returns S_OK if the scope for the collection was returned.

If more than one scope contains the collection, the corresponding flags of those scopes are set. If none of the scopes contains the collection, the scope parameter is set to EnclosingScopes_None.

Return to top
Show: