Share via


ITableEntry.TrySetValue(String, Object) Method

Definition

Set the data associated with the specified column (if this entry has data associated with keyName).

public:
 bool TrySetValue(System::String ^ keyName, System::Object ^ content);
public:
 bool TrySetValue(Platform::String ^ keyName, Platform::Object ^ content);
bool TrySetValue(std::wstring const & keyName, winrt::Windows::Foundation::IInspectable const & content);
public bool TrySetValue (string keyName, object content);
abstract member TrySetValue : string * obj -> bool
Public Function TrySetValue (keyName As String, content As Object) As Boolean

Parameters

keyName
String

The key name.

content
Object

The content.

Returns

true if the value was changed.

Applies to