次の方法で共有


WritableSettingsStore.SetUInt64 Method

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

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'宣言
Public MustOverride Sub SetUInt64 ( _
    collectionPath As String, _
    propertyName As String, _
    value As ULong _
)
public abstract void SetUInt64(
    string collectionPath,
    string propertyName,
    ulong value
)

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

Microsoft.VisualStudio.Settings Namespace