Bundle.PutParcelable(String, IParcelable) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將一個可分區的值插入該 Bundle 的映射,替換該鍵的現有值。
[Android.Runtime.Register("putParcelable", "(Ljava/lang/String;Landroid/os/Parcelable;)V", "")]
public void PutParcelable(string? key, Android.OS.IParcelable? value);
[<Android.Runtime.Register("putParcelable", "(Ljava/lang/String;Landroid/os/Parcelable;)V", "")>]
member this.PutParcelable : string * Android.OS.IParcelable -> unit
參數
- key
- String
一個字串,或稱空
- value
- IParcelable
一個可包物件,或稱空
- 屬性
備註
將一個可分區的值插入該 Bundle 的映射,替換該鍵的現有值。 鍵或值都可能是空。
的 android.os.Bundle.putParcelable(java.lang.String, android.os.Parcelable)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。