MessageProperties.TryGetValue(String, Object) メソッド

定義

MessageProperties に特定の名前が格納されているかどうかを判断し、その値を取得します。

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

パラメーター

name
String

検索する要素の名前。

value
Object

見つかった要素の値。

戻り値

Boolean

指定した true を持つ要素が MessageProperties に含まれている場合は name。それ以外の場合は false

適用対象