销售电话: 1-800-867-1380
EN
此内容没有您的语言版本,但有英语版本。

Increment Method (String, Int64, Int64, String)

Increments a long value stored in the cache in the specified region.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

声明
Public Function Increment ( _
	key As String, _
	value As Long, _
	initialValue As Long, _
	region As String _
) As Long
用法
Dim instance As DataCache
Dim key As String
Dim value As Long
Dim initialValue As Long
Dim region As String
Dim returnValue As Long

returnValue = instance.Increment(key, _
	value, initialValue, region)

Parameters

key
Type: System..::..String
The key of the object stored in the cache. The object must be a long.
value
Type: System..::..Int64
The amount to increase the stored value.
initialValue
Type: System..::..Int64
The initial value to use if the object does not exist in the cache.
region
Type: System..::..String
The user-defined region in which the object is stored.

Return Value

Type: System..::..Int64
Returns the incremented Int64 value.
本文是否对您有所帮助?
(1500 个剩余字符)
感谢您的反馈
Microsoft 正在进行一项网上调查,以了解您对 MSDN 网站的意见。 如果您选择参加,我们将会在您离开 MSDN 网站时向您显示该网上调查。

是否要参加?
显示:
© 2015 Microsoft