MockCursor.UpdateString(Int32, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
拋出 UnsupportedOperationException。 覆寫此方法以更新測試中欄位的字串。
[Android.Runtime.Register("updateString", "(ILjava/lang/String;)Z", "GetUpdateString_ILjava_lang_String_Handler")]
public virtual bool UpdateString(int columnIndex, string? value);
[<Android.Runtime.Register("updateString", "(ILjava/lang/String;)Z", "GetUpdateString_ILjava_lang_String_Handler")>]
abstract member UpdateString : int * string -> bool
override this.UpdateString : int * string -> bool
參數
- columnIndex
- Int32
欄位的零基索引。 可進行測試覆寫;預設的模擬實作並未使用此參數。
- value
- String
欄位的新值。 可進行測試覆寫;預設的模擬實作並未使用此參數。
傳回
沒有任何價值回傳。 預設的模擬實作拋 UnsupportedOperationException出 ;覆寫此方法以提供測試結果。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。