Condividi tramite


MessageSignature.GetIdElement Method

Returns the XmlElement with the specified ID from the specified XmlDocument .

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim document As XmlDocument
Dim idValue As String
Dim returnValue As XmlElement
Dim messageSignature1 As MessageSignature
returnValue = messageSignature1.GetIdElement(document, idValue)

Syntax

'Declaration
Public Overridable Function GetIdElement( _
    ByVal document As XmlDocument, _
    ByVal idValue As String _
) As XmlElement
public virtual XmlElement GetIdElement(
    XmlDocument document, 
    string idValue
);
public:
virtual XmlElement^ GetIdElement(
    XmlDocument^ document,
    String^ idValue
);
public virtual XmlElement GetIdElement(
    XmlDocument document, 
    System.String idValue
);
public function GetIdElement(
     document : XmlDocument, 
     idValue : String
) : XmlElement;

Parameters

  • document
    The XmlDocument from which to retrieve the XmlElement.
  • idValue
    The ID of the XmlElement to retrieve from the XmlDocument.

Return Value

The XmlElement with the specified ID from the specified XmlDocument, or null if it could not be found.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

MessageSignature Class
MessageSignature Members
Microsoft.Web.Services3.Security Namespace