XmlDictionary.TryLookup Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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 tekenreeks zich momenteel niet in de woordenlijst bevindt.
TryLookup(Int32, XmlDictionaryString)
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
Hiermee wordt geprobeerd een vermelding in de woordenlijst op te zoeken.
public:
virtual bool TryLookup(int key, [Runtime::InteropServices::Out] System::Xml::XmlDictionaryString ^ % result);
public virtual bool TryLookup(int key, 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
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.
Implementeringen
Van toepassing op
TryLookup(String, XmlDictionaryString)
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
Hiermee wordt de woordenlijst gecontroleerd op een opgegeven tekenreekswaarde.
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);
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
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.
Implementeringen
Uitzonderingen
value is null.
Van toepassing op
TryLookup(XmlDictionaryString, XmlDictionaryString)
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
- Bron:
- XmlDictionary.cs
Hiermee wordt de woordenlijst gecontroleerd op een opgegeven 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);
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
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
Implementeringen
Uitzonderingen
value is null.