共用方式為


AttributeDictionary.TryGetValue(String, String) 方法

定義

System.Object.TryGetValue(System.String,System.String@)
public:
 virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::String ^ % value);
public bool TryGetValue (string key, out string value);
public bool TryGetValue (string key, out string? value);
abstract member TryGetValue : string * string -> bool
override this.TryGetValue : string * string -> bool
Public Function TryGetValue (key As String, ByRef value As String) As Boolean

參數

key
String
value
String

傳回

適用於