FileVersionInfo.InternalName プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > FileVersionInfo.InternalName プロパティの意味・解説 

FileVersionInfo.InternalName プロパティ

ファイル内部名がある場合には、内部名を取得します

名前空間: System.Diagnostics
アセンブリ: System (system.dll 内)
構文構文

Dim instance As FileVersionInfo
Dim value As String

value = instance.InternalName
public string InternalName { get;
 }
public:
property String^ InternalName {
    String^ get ();
}
/** @property */
public String get_InternalName ()

プロパティ
ファイル内部名。内部名がない場合は、このプロパティには、拡張子付かない元のファイル名格納されます。

使用例使用例

GetVersionInfo を呼び出してメモ帳の FileVersionInfo を取得する例を次に示します次にInternalNameテキスト ボックス出力します。このコードは、textBox1インスタンス化されていることを前提にしています。

Private Sub GetInternalName()
    ' Get the file version for the notepad.
    Dim myFileVersionInfo As FileVersionInfo
 = _
        FileVersionInfo.GetVersionInfo("%systemroot%\Notepad.exe")
    
    ' Print the internal name.
    textBox1.Text = "Internal name: " & myFileVersionInfo.InternalName
End Sub 'GetInternalName
private void GetInternalName() {
    // Get the file version for the notepad.
    FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");
 
    // Print the internal name.
    textBox1.Text = "Internal name: " + myFileVersionInfo.InternalName;
 }
    
private:
   void GetInternalName()
   {
      // Get the file version for the notepad.
      FileVersionInfo^ myFileVersionInfo = FileVersionInfo::GetVersionInfo( "%systemroot%\\Notepad.exe"
 );
      
      // Print the internal name.
      textBox1->Text = String::Concat( "Internal name: ", myFileVersionInfo->InternalName
 );
   }
private void GetInternalName()
{
    // Get the file version for the notepad.
    FileVersionInfo myFileVersionInfo = 
        FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");

    // Print the internal name.
    textBox1.set_Text("Internal name: " 
        + myFileVersionInfo.get_InternalName());
} //GetInternalName
private function GetInternalName() {
    //Get the file version for the notepad.
    var myFileVersionInfo : FileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");
 
    //Print the internal name.
    textBox1.Text = "Internal name: " + myFileVersionInfo.InternalName;
 }
    
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

FileVersionInfo.InternalName プロパティのお隣キーワード
検索ランキング

   

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



FileVersionInfo.InternalName プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS