Share via


IVsSettingsManager.GetCollectionScopes Method

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)

Syntax

'Declaration
Function GetCollectionScopes ( _
    collectionPath As String, _
    <OutAttribute> ByRef scopes As UInteger _
) As Integer
int GetCollectionScopes(
    string collectionPath,
    out uint scopes
)
int GetCollectionScopes(
    [InAttribute] String^ collectionPath, 
    [OutAttribute] unsigned int% scopes
)
abstract GetCollectionScopes : 
        collectionPath:string * 
        scopes:uint32 byref -> int 
function GetCollectionScopes(
    collectionPath : String, 
    scopes : uint
) : int

Parameters

  • collectionPath
    Type: System.String
    [in] The path to the collections file.

Return Value

Type: System.Int32
Returns S_OK if the scope for the collection was returned.

Remarks

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.

.NET Framework Security

See Also

Reference

IVsSettingsManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace