Partager via


SettingsStore.CollectionExists Method

Checks the existence of the collection passed in to this method.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Declaration
Public MustOverride Function CollectionExists ( _
    collectionPath As String _
) As Boolean
public abstract bool CollectionExists(
    string collectionPath
)
public:
virtual bool CollectionExists(
    String^ collectionPath
) abstract
abstract CollectionExists : 
        collectionPath:string -> bool
public abstract function CollectionExists(
    collectionPath : String
) : boolean

Parameters

  • collectionPath
    Type: String

    Path of the collection.

Return Value

Type: Boolean
Returns true if the collection exists and false otherwise.

.NET Framework Security

See Also

Reference

SettingsStore Class

Microsoft.VisualStudio.Settings Namespace