Share via


ITableEntry.CanSetValue(String) Method

Definition

Can the data associated with the specified column be set?.

public:
 bool CanSetValue(System::String ^ keyName);
public:
 bool CanSetValue(Platform::String ^ keyName);
bool CanSetValue(std::wstring const & keyName);
public bool CanSetValue (string keyName);
abstract member CanSetValue : string -> bool
Public Function CanSetValue (keyName As String) As Boolean

Parameters

keyName
String

The key name.

Returns

true if the entry can be set.

Remarks

This method returning true is not a guarantee that TrySetValue(String, Object) will work for keyName.

This method is normally used so that the UI displaying this ITableEntry can indicate whether or not the value can be set.

Applies to