XmlDecryptionTransform.IsTargetElement Method (XmlElement, String)

 

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

Namespace:   System.Security.Cryptography.Xml
Assembly:  System.Security (in System.Security.dll)

protected virtual bool IsTargetElement(
	XmlElement inputElement,
	string idValue
)

Parameters

inputElement
Type: System.Xml.XmlElement

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

idValue
Type: System.String

The value to compare with the ID attribute of inputElement.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: