SettingsStore.CollectionExists Method
Checks the existence of the collection passed in to this method.
Namespace: Microsoft.VisualStudio.Settings
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Déclaration
Public MustOverride Function CollectionExists ( _
collectionPath As String _
) As Boolean
'Utilisation
Dim instance As SettingsStore
Dim collectionPath As String
Dim returnValue As Boolean
returnValue = instance.CollectionExists(collectionPath)
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: System.String
Path of the collection.
Return Value
Type: System.Boolean
Returns true if the collection exists and false otherwise.
.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.