IVsWritableSettingsStore.SetInt64 Method
Sets the value of a 64-bit integer property. If the previous data type of the property is not SettingsType_Int64, it overwrites it. If the property does not exist it creates one.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Function SetInt64 ( _
collectionPath As String, _
propertyName As String, _
value As Long _
) As Integer
int SetInt64(
string collectionPath,
string propertyName,
long value
)
int SetInt64(
[InAttribute] String^ collectionPath,
[InAttribute] String^ propertyName,
[InAttribute] long long value
)
abstract SetInt64 :
collectionPath:string *
propertyName:string *
value:int64 -> int
function SetInt64(
collectionPath : String,
propertyName : String,
value : long
) : int
Parameters
collectionPath
Type: String[in] The path to the collection.
propertyName
Type: String[in] The property.
value
Type: Int64[in] The value.
Return Value
Type: Int32
Returns S_OK if the value was set. If the collection does not exist, the method returns E_INVALIDARG.
.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.