ITableEntry.TrySetValue(String, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果這個專案具有與) 相關聯的數據,請設定與指定數據行相關聯的 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
參數
- keyName
- String
索引鍵名稱。
- content
- Object
內容。
傳回
如果值已變更,則為 true。