SettingsStore.PropertyExists(String, String) 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.
Checks the existance of the property passed in to this method.
public:
abstract bool PropertyExists(System::String ^ collectionPath, System::String ^ propertyName);
public:
abstract bool PropertyExists(Platform::String ^ collectionPath, Platform::String ^ propertyName);
abstract bool PropertyExists(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract bool PropertyExists (string collectionPath, string propertyName);
abstract member PropertyExists : string * string -> bool
Public MustOverride Function PropertyExists (collectionPath As String, propertyName As String) As Boolean
Parameters
- collectionPath
- String
Path of the collection of the property.
- propertyName
- String
Name of the property.
Returns
Returns true if the property exists and false otherwise.
Remarks
This method is safe to access from any thread.