Rediger

Del via


XmlDecryptionTransform.IsTargetElement(XmlElement, String) Method

Definition

Determines whether the ID attribute of an XmlElement object matches a specified value.

protected:
 virtual bool IsTargetElement(System::Xml::XmlElement ^ inputElement, System::String ^ idValue);
protected virtual bool IsTargetElement (System.Xml.XmlElement? inputElement, string idValue);
protected virtual bool IsTargetElement (System.Xml.XmlElement inputElement, string idValue);
abstract member IsTargetElement : System.Xml.XmlElement * string -> bool
override this.IsTargetElement : System.Xml.XmlElement * string -> bool
Protected Overridable Function IsTargetElement (inputElement As XmlElement, idValue As String) As Boolean

Parameters

inputElement
XmlElement

An XmlElement object with an ID attribute to compare with idValue.

idValue
String

The value to compare with the ID attribute of inputElement.

Returns

true if the ID attribute of the inputElement parameter matches the idValue parameter; otherwise, false.

Applies to