Updates the value of this metadata item.

Namespace: Buddy
Assembly: Buddy (in Buddy.dll) Version: 1.0.2.7 (1.0.2.7)

Syntax

C#
public IAsyncResult SetAsync(
	Action<bool, BuddyCallbackParams> callback,
	string value,
	double latitude = 0,
	double longitude = 0,
	string appTag = "",
	Object state = null
)
Visual Basic
Public Function SetAsync ( _
	callback As Action(Of Boolean, BuddyCallbackParams), _
	value As String, _
	Optional latitude As Double = 0, _
	Optional longitude As Double = 0, _
	Optional appTag As String = "", _
	Optional state As Object = Nothing _
) As IAsyncResult
Visual C++
public:
IAsyncResult^ SetAsync(
	Action<bool, BuddyCallbackParams^>^ callback, 
	String^ value, 
	double latitude = 0, 
	double longitude = 0, 
	String^ appTag = L"", 
	Object^ state = nullptr
)
JavaScript
function SetAsync(callback, value, latitude, longitude, appTag, state);

Parameters

callback
Type: System..::..Action<(Of <(<'Boolean, BuddyCallbackParams>)>)>
The callback to call when this method completes. The first parameter is true if the update was successful, false otherwise.
value
Type: System..::..String
The new value for this item, can't be null.
latitude (Optional)
Type: System..::..Double
The optional latitude for this item.
longitude (Optional)
Type: System..::..Double
The optional longitude for this item.
appTag (Optional)
Type: System..::..String
The optional application tag for this item.
state (Optional)
Type: System..::..Object
An optional user defined object that will be passed to the callback.

Return Value

An IAsyncResult handle that can be used to monitor progress on this call.

See Also