This documentation is archived and is not being maintained.

XmlUrlEditor Class

Provides a user interface for selecting a URL that indicates the location of an XML file.

For a list of all members of this type, see XmlUrlEditor Members.

System.Object
   System.Drawing.Design.UITypeEditor
      System.Web.UI.Design.UrlEditor
         System.Web.UI.Design.XmlUrlEditor

[Visual Basic]
Public Class XmlUrlEditor
   Inherits UrlEditor
[C#]
public class XmlUrlEditor : UrlEditor
[C++]
public __gc class XmlUrlEditor : public UrlEditor
[JScript]
public class XmlUrlEditor extends UrlEditor

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.

Remarks

XmlUrlEditor is a UITypeEditor that provides a dialog for selecting an URL that indicates the location of an XML file.

Example

[Visual Basic] 
<EditorAttribute(GetType(System.Web.UI.Design.XmlUrlEditor), GetType(UITypeEditor))> _
Public Property XmlFileURL() As String
    Get
        Return xmlURL
    End Get
    Set(ByVal Value As String)
        xmlURL = Value
    End Set
End Property

Private xmlURL As String

[C#] 
[EditorAttribute(typeof(System.Web.UI.Design.XmlUrlEditor), typeof(UITypeEditor))]
public string XmlFileURL
{
    get
    {
        return xmlURL;
    }
    set
    {
        xmlURL = value;
    }
}

private string xmlURL;

[C++] 
public:
   [EditorAttribute(__typeof(XmlUrlEditor), __typeof(UITypeEditor))]
   __property String* get_XmlFileURL() {
      return xmlURL;
   }
   [EditorAttribute(__typeof(XmlUrlEditor), __typeof(UITypeEditor))]
   __property void set_XmlFileURL(String* value) {
      xmlURL = value;
   }

private:
   String* xmlURL;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Namespace: System.Web.UI.Design

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Design (in System.Design.dll)

See Also

XmlUrlEditor Members | System.Web.UI.Design Namespace | UrlEditor

Show: