XmlDictionary.TryLookup XmlDictionary.TryLookup XmlDictionary.TryLookup XmlDictionary.TryLookup Method

정의

사전에서 항목을 찾으려고 합니다.Attempts to look up an entry in the dictionary.

오버로드

TryLookup(Int32, XmlDictionaryString) TryLookup(Int32, XmlDictionaryString) TryLookup(Int32, XmlDictionaryString) TryLookup(Int32, XmlDictionaryString)

사전에서 항목을 찾으려고 합니다.Attempts to look up an entry in the dictionary.

TryLookup(String, XmlDictionaryString) TryLookup(String, XmlDictionaryString) TryLookup(String, XmlDictionaryString) TryLookup(String, XmlDictionaryString)

사전에서 지정한 문자열 값을 확인합니다.Checks the dictionary for a specified string value.

TryLookup(XmlDictionaryString, XmlDictionaryString) TryLookup(XmlDictionaryString, XmlDictionaryString) TryLookup(XmlDictionaryString, XmlDictionaryString) TryLookup(XmlDictionaryString, XmlDictionaryString)

사전에서 지정한 XmlDictionaryString을 확인합니다.Checks the dictionary for a specified XmlDictionaryString.

설명

이 메서드를 사용하면 문자열이 현재 사전에 없는 경우 예외를 throw하지 않습니다.This method avoids throwing an exception if the string is not currently in the dictionary.

TryLookup(Int32, XmlDictionaryString) TryLookup(Int32, XmlDictionaryString) TryLookup(Int32, XmlDictionaryString) TryLookup(Int32, XmlDictionaryString)

사전에서 항목을 찾으려고 합니다.Attempts to look up an entry in the dictionary.

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

매개 변수

key
Int32 Int32 Int32 Int32

찾을 키입니다.Key to look up.

result
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

key가 정의되는 경우 키에 매핑되는 XmlDictionaryString이고, 그렇지 않으면 null입니다.If key is defined, the XmlDictionaryString that is mapped to the key; otherwise null.

반환

키가 사전에 있으면 true이고, 그렇지 않으면 false입니다.true if key is in the dictionary; otherwise, false.

구현

TryLookup(String, XmlDictionaryString) TryLookup(String, XmlDictionaryString) TryLookup(String, XmlDictionaryString) TryLookup(String, XmlDictionaryString)

사전에서 지정한 문자열 값을 확인합니다.Checks the dictionary for a specified string value.

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

매개 변수

value
String String String String

확인할 문자열 값입니다.String value being checked for.

result
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

있는 경우 해당 XmlDictionaryString이고, 그렇지 않으면 null입니다.The corresponding XmlDictionaryString, if found; otherwise null.

반환

값이 사전에 있으면 true이고, 그렇지 않으면 false입니다.true if value is in the dictionary; otherwise, false.

구현

예외

TryLookup(XmlDictionaryString, XmlDictionaryString) TryLookup(XmlDictionaryString, XmlDictionaryString) TryLookup(XmlDictionaryString, XmlDictionaryString) TryLookup(XmlDictionaryString, XmlDictionaryString)

사전에서 지정한 XmlDictionaryString을 확인합니다.Checks the dictionary for a specified XmlDictionaryString.

public:
 virtual bool TryLookup(System::Xml::XmlDictionaryString ^ value, [Runtime::InteropServices::Out] System::Xml::XmlDictionaryString ^ % result);
public virtual 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 Overridable Function TryLookup (value As XmlDictionaryString, ByRef result As XmlDictionaryString) As Boolean

매개 변수

result
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

있는 경우 일치하는 XmlDictionaryString이고, 그렇지 않으면 null입니다.The matching XmlDictionaryString, if found; otherwise, null.

반환

XmlDictionaryString이 사전에 있으면 true이고, 그렇지 않으면 false입니다.true if XmlDictionaryString is in the dictionary; otherwise, false.

구현

예외

적용 대상