次の方法で共有


TableEntryBase.CanSetValue(String) Method

Definition

Can the data associated with the specified column be set?

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

Parameters

keyName
String

The key name.

Returns

true if the entry can be set.

Implements

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