WritableSettingsStore.SetInt64(String, String, Int64) Method

Definition

Updates the value of the specified property to the given long value while setting its data type to Int64. If the previous data type of the property is different, it overwrites it. If the property does not exist it creates one.

public:
 abstract void SetInt64(System::String ^ collectionPath, System::String ^ propertyName, long value);
public:
 abstract void SetInt64(Platform::String ^ collectionPath, Platform::String ^ propertyName, long long value);
 abstract void SetInt64(std::wstring const & collectionPath, std::wstring const & propertyName, long value);
public abstract void SetInt64 (string collectionPath, string propertyName, long value);
abstract member SetInt64 : string * string * int64 -> unit
Public MustOverride Sub SetInt64 (collectionPath As String, propertyName As String, value As Long)

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

value
Int64

New value of the property.

Exceptions

If the collection does not exist, this exception is thrown.

Remarks

If the previous data type of the property is different, it overwrites it.

If the property does not exist it creates one.

Applies to