Share via


IVsWritableSettingsStore.CollectionExists Method

Determines whether a named collection exists.

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

Syntax

'Declaration
Function CollectionExists ( _
    collectionPath As String, _
    <OutAttribute> ByRef pfExists As Integer _
) As Integer
int CollectionExists(
    string collectionPath,
    out int pfExists
)
int CollectionExists(
    [InAttribute] String^ collectionPath, 
    [OutAttribute] int% pfExists
)
abstract CollectionExists : 
        collectionPath:string * 
        pfExists:int byref -> int 
function CollectionExists(
    collectionPath : String, 
    pfExists : int
) : int

Parameters

  • collectionPath
    Type: System.String
    [in] The path to the settings.
  • pfExists
    Type: System.Int32%
    [out] true if the collection exists.

Return Value

Type: System.Int32
Returns T:Microsoft.VisualStudio.VSConstants.S_OK if the collection exists.

Implements

IVsSettingsStore.CollectionExists(String, Int32%)

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace