XmlBinaryReaderSession.TryLookup 메서드

정의

내부 컬렉션에 항목이 포함되어 있는지 여부를 확인합니다.

오버로드

Name Description
TryLookup(Int32, XmlDictionaryString)

내부 컬렉션에 키와 일치하는 항목이 포함되어 있는지 확인합니다.

TryLookup(String, XmlDictionaryString)

내부 컬렉션에 값과 일치하는 항목이 포함되어 있는지 여부를 확인합니다.

TryLookup(XmlDictionaryString, XmlDictionaryString)

내부 컬렉션에 값과 일치하는 항목이 포함되어 있는지 여부를 확인합니다.

TryLookup(Int32, XmlDictionaryString)

Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs

내부 컬렉션에 키와 일치하는 항목이 포함되어 있는지 확인합니다.

public:
 virtual bool TryLookup(int key, [Runtime::InteropServices::Out] System::Xml::XmlDictionaryString ^ % result);
public bool TryLookup(int key, out System.Xml.XmlDictionaryString result);
public bool TryLookup(int key, out System.Xml.XmlDictionaryString? result);
abstract member TryLookup : int * XmlDictionaryString -> bool
override this.TryLookup : int * XmlDictionaryString -> bool
Public Function TryLookup (key As Integer, ByRef result As XmlDictionaryString) As Boolean

매개 변수

key
Int32

검색할 키입니다.

result
XmlDictionaryString

이 메서드가 반환되면 항목이 있으면 문자열을 포함합니다. 그렇지 않으면 . null 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반품

일치하는 항목이 발견되었으면 입니다. 그렇지 않으면 .입니다.

구현

예외

keynull입니다.

적용 대상

TryLookup(String, XmlDictionaryString)

Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs

내부 컬렉션에 값과 일치하는 항목이 포함되어 있는지 여부를 확인합니다.

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

매개 변수

value
String

검색할 값입니다.

result
XmlDictionaryString

이 메서드가 반환되면 항목이 있으면 문자열을 포함합니다. 그렇지 않으면 . null 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반품

일치하는 항목이 발견되었으면 입니다. 그렇지 않으면 .입니다.

구현

예외

valuenull입니다.

적용 대상

TryLookup(XmlDictionaryString, XmlDictionaryString)

Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs
Source:
XmlBinaryReaderSession.cs

내부 컬렉션에 값과 일치하는 항목이 포함되어 있는지 여부를 확인합니다.

public:
 virtual bool TryLookup(System::Xml::XmlDictionaryString ^ value, [Runtime::InteropServices::Out] System::Xml::XmlDictionaryString ^ % result);
public bool TryLookup(System.Xml.XmlDictionaryString value, out System.Xml.XmlDictionaryString result);
public bool TryLookup(System.Xml.XmlDictionaryString value, out System.Xml.XmlDictionaryString? result);
abstract member TryLookup : System.Xml.XmlDictionaryString * XmlDictionaryString -> bool
override this.TryLookup : System.Xml.XmlDictionaryString * XmlDictionaryString -> bool
Public Function TryLookup (value As XmlDictionaryString, ByRef result As XmlDictionaryString) As Boolean

매개 변수

value
XmlDictionaryString

검색할 값입니다.

result
XmlDictionaryString

이 메서드가 반환되면 항목이 있으면 문자열을 포함합니다. 그렇지 않으면 . null 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반품

일치하는 항목이 발견되었으면 입니다. 그렇지 않으면 .입니다.

구현

예외

valuenull입니다.

적용 대상