IVsWritableSettingsStore.CollectionExists(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a named collection exists.
public:
int CollectionExists(System::String ^ collectionPath, [Runtime::InteropServices::Out] int % pfExists);
int CollectionExists(std::wstring const & collectionPath, [Runtime::InteropServices::Out] int & pfExists);
public int CollectionExists (string collectionPath, out int pfExists);
abstract member CollectionExists : string * int -> int
Public Function CollectionExists (collectionPath As String, ByRef pfExists As Integer) As Integer
Parameters
- collectionPath
- String
[in] The path to the settings.
- pfExists
- Int32
[out] true if the collection exists.
Returns
Returns T:Microsoft.VisualStudio.VSConstants.S_OK if the collection exists.
Implements
Remarks
This method is safe to access from any thread.