Activity.GetBaggageItem(String) 方法
定义
返回通过 AddBaggage(String, String) 添加到活动的键值对的值。Returns the value of a key-value pair added to the activity with 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
行李键。The baggage key.
返回
如果存在,则为键值对项的值;如果不存在,则为 null。The value of the key-value-pair item if it exists, or null if it does not exist.