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
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
‘선언
Public MustOverride Sub SetUInt64 ( _
collectionPath As String, _
propertyName As String, _
value As ULong _
)
‘사용 방법
Dim instance As WritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim value As ULong
instance.SetUInt64(collectionPath, propertyName, _
value)
public abstract void SetUInt64(
string collectionPath,
string propertyName,
ulong value
)
public:
virtual void SetUInt64(
String^ collectionPath,
String^ propertyName,
unsigned long long value
) abstract
abstract SetUInt64 :
collectionPath:string *
propertyName:string *
value:uint64 -> unit
public abstract function SetUInt64(
collectionPath : String,
propertyName : String,
value : ulong
)
Parameters
- collectionPath
Type: System.String
Path of the collection of the property.
- propertyName
Type: System.String
Name of the property.
- value
Type: System.UInt64
New value 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.