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