SettingsStore.TryGetString(String, 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.
Gets the value of the requested property whose data type is String.
public virtual bool TryGetString (string collectionPath, string propertyName, out string value);
abstract member TryGetString : string * string * string -> bool
override this.TryGetString : string * string * string -> bool
Public Overridable Function TryGetString (collectionPath As String, propertyName As String, ByRef value As String) As Boolean
Parameters
- collectionPath
- String
Path of the collection of the property.
- propertyName
- String
Name of the property.
- value
- String
The retrieved value
Returns
True if successful
Remarks
This method is safe to access from any thread.