Share via


TableEntryBase.TrySetValue(String, Object) Method

Definition

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

public:
 virtual bool TrySetValue(System::String ^ keyName, System::Object ^ content);
public:
 virtual bool TrySetValue(Platform::String ^ keyName, Platform::Object ^ content);
 virtual bool TrySetValue(std::wstring const & keyName, winrt::Windows::Foundation::IInspectable const & content);
public virtual bool TrySetValue (string keyName, object content);
abstract member TrySetValue : string * obj -> bool
override this.TrySetValue : string * obj -> bool
Public Overridable 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.

Implements

Applies to