XmlFileEditor Class
Provides a user interface for selecting an XML file using a standard OpenFileDialog box.
For a list of all members of this type, see XmlFileEditor Members.
System.Object
System.Drawing.Design.UITypeEditor
System.Web.UI.Design.XmlFileEditor
[Visual Basic] Public Class XmlFileEditor Inherits UITypeEditor [C#] public class XmlFileEditor : UITypeEditor [C++] public __gc class XmlFileEditor : public UITypeEditor [JScript] public class XmlFileEditor extends UITypeEditor
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
XmlFileEditor is a UITypeEditor that provides a dialog for selecting an XML file for a file name property.
Example
[Visual Basic] <EditorAttribute(GetType(System.Web.UI.Design.XmlFileEditor), GetType(UITypeEditor))> _ Public Property XmlFile() As String Get Return xml_ End Get Set xml_ = value End Set End Property Private xml_ As String [C#] [EditorAttribute(typeof(System.Web.UI.Design.XmlFileEditor), typeof(UITypeEditor))] public string XmlFile { get { return xml_; } set { xml_ = value; } } private string xml_; [C++] [EditorAttribute(__typeof(XmlFileEditor), __typeof(UITypeEditor))] __property String* get_XmlFile() { return xml_; } [EditorAttribute(__typeof(XmlFileEditor), __typeof(UITypeEditor))] __property void set_XmlFile(String* value) { xml_ = value; } private: String* xml_;
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
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)