MessageSignature.GetIdElement Method
Returns the System.Xml.XmlElement with the specified ID from the specified System.Xml.XmlDocument.
Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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: XmlElement^ GetIdElement(
XmlDocument^ document,
String^ idValue
);
public XmlElement GetIdElement(
XmlDocument document,
System.String idValue
);
public function GetIdElement(
document : XmlDocument,
idValue : String
) : XmlElement;
Parameters
- document
The System.Xml.XmlDocumentfrom which to retrieve the System.Xml.XmlElement .
- idValue
The ID of the System.Xml.XmlElement to retrieve from the System.Xml.XmlDocument.
Return Value
The System.Xml.XmlElement with the specified ID from the specified System.Xml.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 Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
MessageSignature Class
Microsoft.Web.Services2.Security Namespace