IVsSettingsManager.GetCollectionScopes Method
Returns flags about the scopes for a specified collection.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
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: String[in] The path to the collections file.
scopes
Type: UInt32%[out] The __VsEnclosingScopes for the collections.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.