FileNameEditor クラスとは? わかりやすく解説

FileNameEditor クラス

ファイル名選択するためのユーザー インターフェイス提供します

名前空間: System.Windows.Forms.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Public Class FileNameEditor
    Inherits UITypeEditor
Dim instance As FileNameEditor
public class FileNameEditor : UITypeEditor
public ref class FileNameEditor : public
 UITypeEditor
public class FileNameEditor extends UITypeEditor
public class FileNameEditor extends
 UITypeEditor
解説解説
使用例使用例

EditorAttribute を使用してFileNameEditorプロパティ関連付けるコード例次に示します

<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   
[EditorAttribute(typeof(System.Windows.Forms.Design.FileNameEditor), typeof(System.Drawing.Design.UITypeEditor))]
public string testFilename
{
    get
    {
        return filename;
    }
    set
    {
        filename = value;
    }
}
private string filename;       
public:
   [EditorAttribute(System::ComponentModel::Design::CollectionEditor::typeid,
      System::Drawing::Design::UITypeEditor::typeid)]
   property String^ testFilename 
   {
      String^ get()
      {
         return filename;
      }
      void set( String^ value )
      {
         filename = value;
      }
   }
private:
   String^ filename;
/** @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;
継承階層継承階層
System.Object
   System.Drawing.Design.UITypeEditor
    System.Windows.Forms.Design.FileNameEditor
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileNameEditor メンバ
System.Windows.Forms.Design 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からFileNameEditor クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からFileNameEditor クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からFileNameEditor クラス を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「FileNameEditor クラス」の関連用語

FileNameEditor クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



FileNameEditor クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS