IXmlDictionary.TryLookup Methode

Definitie

Hiermee wordt geprobeerd een vermelding in de woordenlijst op te zoeken.

Overloads

Name Description
TryLookup(Int32, XmlDictionaryString)

Hiermee wordt geprobeerd een vermelding in de woordenlijst op te zoeken.

TryLookup(String, XmlDictionaryString)

Hiermee wordt de woordenlijst gecontroleerd op een opgegeven tekenreekswaarde.

TryLookup(XmlDictionaryString, XmlDictionaryString)

Hiermee wordt de woordenlijst gecontroleerd op een opgegeven XmlDictionaryString.

Opmerkingen

Met deze methode wordt voorkomen dat er een uitzondering wordt gegenereerd als de vermelding zich momenteel niet in de woordenlijst bevindt.

TryLookup(Int32, XmlDictionaryString)

Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs

Hiermee wordt geprobeerd een vermelding in de woordenlijst op te zoeken.

public:
 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
Public Function TryLookup (key As Integer, ByRef result As XmlDictionaryString) As Boolean

Parameters

key
Int32

Sleutel om op te zoeken.

result
XmlDictionaryString

Als key dit is gedefinieerd, wordt die XmlDictionaryString toegewezen aan de sleutel; anders null.

Retouren

true als de sleutel in de woordenlijst staat; anders, false.

Van toepassing op

TryLookup(String, XmlDictionaryString)

Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs

Hiermee wordt de woordenlijst gecontroleerd op een opgegeven tekenreekswaarde.

public:
 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
Public Function TryLookup (value As String, ByRef result As XmlDictionaryString) As Boolean

Parameters

value
String

Tekenreekswaarde die wordt gecontroleerd op.

result
XmlDictionaryString

De bijbehorende XmlDictionaryString, indien gevonden; anders . null

Retouren

true als de waarde in de woordenlijst staat; anders, false.

Van toepassing op

TryLookup(XmlDictionaryString, XmlDictionaryString)

Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs
Bron:
IXmlDictionary.cs

Hiermee wordt de woordenlijst gecontroleerd op een opgegeven XmlDictionaryString.

public:
 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
Public Function TryLookup (value As XmlDictionaryString, ByRef result As XmlDictionaryString) As Boolean

Parameters

value
XmlDictionaryString

Het XmlDictionaryString wordt gecontroleerd op.

result
XmlDictionaryString

De overeenkomendeXmlDictionaryString, indien gevonden, anders. null

Retouren

trueals XmlDictionaryString deze zich in de woordenlijst bevindt; anders. false

Van toepassing op