Share via


MessageProperties.ICollection<KeyValuePair<String,Object>>.Contains 메서드

정의

MessageProperties에 특정 이름이 들어 있는지 여부를 확인합니다.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> pair) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Contains;
bool ICollection<KeyValuePair<string,object>>.Contains (System.Collections.Generic.KeyValuePair<string,object> pair);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Contains (pair As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Contains

매개 변수

pair
KeyValuePair<String,Object>

MessageProperties에서 찾을 요소의 이름과 값을 포함하는 키/값 쌍입니다.

반환

지정한 true의 이름과 값을 가진 요소가 MessageProperties에 포함되어 있으면 pair이고, 그렇지 않으면 false입니다.

구현

적용 대상