Redigera

Dela via


EncryptedXml.GetIdElement(XmlDocument, String) Method

Definition

Determines how to resolve internal Uniform Resource Identifier (URI) references.

public:
 virtual System::Xml::XmlElement ^ GetIdElement(System::Xml::XmlDocument ^ document, System::String ^ idValue);
public virtual System.Xml.XmlElement? GetIdElement (System.Xml.XmlDocument document, string idValue);
public virtual System.Xml.XmlElement GetIdElement (System.Xml.XmlDocument document, string idValue);
abstract member GetIdElement : System.Xml.XmlDocument * string -> System.Xml.XmlElement
override this.GetIdElement : System.Xml.XmlDocument * string -> System.Xml.XmlElement
Public Overridable Function GetIdElement (document As XmlDocument, idValue As String) As XmlElement

Parameters

document
XmlDocument

An XmlDocument object that contains an element with an ID value.

idValue
String

A string that represents the ID value.

Returns

An XmlElement object that contains an ID indicating how internal Uniform Resource Identifiers (URIs) are to be resolved.

Remarks

The GetIdElement method determines how to resolve internal Uniform Resource Identifiers (URIs). It looks for elements with a specified value or for elements with an ID attribute that has a specified value.

Applies to