Share via


XopDocument.CreateElement Method (String, String, String)

Creates an XML element using the specified XML namespace prefix, local name, and the XML namespace URI.

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

Usage

'Usage
Dim prefix As String
Dim localName As String
Dim namespaceURI As String
Dim returnValue As XmlElement
Dim xopDocument1 As XopDocument
returnValue = xopDocument1.CreateElement(prefix, localName, namespaceURI)

Syntax

'Declaration
Overloads Public Overrides Function CreateElement( _
    ByVal prefix As String, _
    ByVal localName As String, _
    ByVal namespaceURI As String _
) As XmlElement
public override XmlElement CreateElement(
    string prefix, 
    string localName, 
    string namespaceURI
);
public:
virtual XmlElement^ CreateElement(
    String^ prefix,
    String^ localName,
    String^ namespaceURI
) override;
public override XmlElement CreateElement(
    System.String prefix, 
    System.String localName, 
    System.String namespaceURI
);
public override function CreateElement(
     prefix : String, 
     localName : String, 
     namespaceURI : String
) : XmlElement;

Parameters

  • prefix
    The prefix of the new element (if any). String.Empty and a null reference are equivalent.
  • localName
    The local name of the new element.
  • namespaceURI
    The namespace URI of the new element (if any). String.Empty and a null reference are equivalent.

Return Value

The new System.Xml.XmlElement.

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

XopDocument Class
XopDocument Members
Microsoft.Web.Services3.Mime Namespace