WritableSettingsStore.SetInt64 Method

Updates the value of the specified property to the given long value while setting its data type to [!:SettingsType.Int64].

Namespace:  Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

‘선언
Public MustOverride Sub SetInt64 ( _
    collectionPath As String, _
    propertyName As String, _
    value As Long _
)
‘사용 방법
Dim instance As WritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim value As Long

instance.SetInt64(collectionPath, propertyName, _
    value)
public abstract void SetInt64(
    string collectionPath,
    string propertyName,
    long value
)
public:
virtual void SetInt64(
    String^ collectionPath, 
    String^ propertyName, 
    long long value
) abstract
abstract SetInt64 : 
        collectionPath:string * 
        propertyName:string * 
        value:int64 -> unit 
public abstract function SetInt64(
    collectionPath : String, 
    propertyName : String, 
    value : long
)

Parameters

  • collectionPath
    Type: System.String
    Path of the collection of the property.

Exceptions

Exception Condition
ArgumentException

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.

.NET Framework Security

See Also

Reference

WritableSettingsStore Class

WritableSettingsStore Members

Microsoft.VisualStudio.Settings Namespace