共用方式為


Activity.GetBaggageItem(String) 方法

定義

傳回新增至活動之索引鍵/值組的值和 AddBaggage(String, String)

public:
 System::String ^ GetBaggageItem(System::String ^ key);
public string? GetBaggageItem (string key);
public string GetBaggageItem (string key);
member this.GetBaggageItem : string -> string
Public Function GetBaggageItem (key As String) As String

參數

key
String

行李索引鍵。

傳回

若有,則為索引鍵/值組項目的值;若不存在,則為 null

適用於