FileNameEditor Class
.NET Framework 2.0
Provides a user interface for selecting a file name.
Namespace: System.Windows.Forms.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
The following code example uses an EditorAttribute to associate the FileNameEditor with a property.
<EditorAttribute(GetType(System.Windows.Forms.Design.FileNameEditor), GetType(System.Drawing.Design.UITypeEditor))> _ Public Property testFilename() As String Get Return filename End Get Set filename = value End Set End Property Private filename As String
/** @attribute EditorAttribute(System.Windows.Forms.Design.FileNameEditor.
class, System.Drawing.Design.UITypeEditor.class)
*/
/** @property
*/
public String get_TestFilename()
{
return fileName;
} //get_TestFilename
/** @property
*/
public void set_TestFilename(String value)
{
fileName = value;
} //set_TestFilename
private String fileName;
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: