Share via


ISession.TryGetValue(String, Byte[]) 方法

定義

如果存在,請擷取指定索引鍵的值。

public:
 bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % value);
public bool TryGetValue (string key, out byte[] value);
public bool TryGetValue (string key, out byte[]? value);
abstract member TryGetValue : string * Byte[] -> bool
Public Function TryGetValue (key As String, ByRef value As Byte()) As Boolean

參數

key
String
value
Byte[]

傳回

擷取的數值。

適用於