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

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

FileVersionInfo.ProductMinorPart プロパティ

このファイル関連付けられている製品マイナ バージョン番号取得します

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

Dim instance As FileVersionInfo
Dim value As Integer

value = instance.ProductMinorPart
public int ProductMinorPart { get;
 }
public:
property int ProductMinorPart {
    int get ();
}
/** @property */
public int get_ProductMinorPart ()
public function get ProductMinorPart
 () : int

プロパティ
製品マイナ バージョン番号を表す値。

解説解説

通常バージョン番号は "メジャー番号.マイナ番号.ビルド番号.プライベート パート番号" の形式表示されます。ファイル バージョン番号は、ファイルバージョン番号を示す 64 ビット数値であり、次のような構成になってます。

このプロパティは、2 番目の 16 ビット値を取得します

使用例使用例

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

Private Sub GetProductMinorPart()
    ' Get the file version for the notepad.
    Dim myFileVersionInfo As FileVersionInfo
 = _
        FileVersionInfo.GetVersionInfo("%systemroot%\Notepad.exe")
    
    ' Print the product minor part number.
    textBox1.Text = "Product minor part number: "
 & myFileVersionInfo.ProductMinorPart
End Sub 'GetProductMinorPart
private void GetProductMinorPart() {
    // Get the file version for the notepad.
    FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");
 
    // Print the product minor part number.
    textBox1.Text = "Product minor part number: " + myFileVersionInfo.ProductMinorPart;
 }
    
private:
   void GetProductMinorPart()
   {
      // Get the file version for the notepad.
      FileVersionInfo^ myFileVersionInfo = FileVersionInfo::GetVersionInfo( "%systemroot%\\Notepad.exe"
 );
      
      // Print the product minor part number.
      textBox1->Text = String::Concat( "Product minor part number: ",
 myFileVersionInfo->ProductMinorPart );
   }
private void GetProductMinorPart()
{
    // Get the file version for the notepad.
    FileVersionInfo myFileVersionInfo = 
        FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");

    // Print the product minor part number.
    textBox1.set_Text("Product minor part number: " 
        + myFileVersionInfo.get_ProductMinorPart());
} //GetProductMinorPart
private function GetProductMinorPart() {
    //Get the file version for the notepad.
    var myFileVersionInfo : FileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");
 
    //Print the product minor part number.
    textBox1.Text = "Product minor part number: " + myFileVersionInfo.ProductMinorPart;
 }
    
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileVersionInfo クラス
FileVersionInfo メンバ
System.Diagnostics 名前空間
FileVersionInfo.ProductBuildPart プロパティ
FileVersionInfo.ProductMajorPart プロパティ
ProductVersion


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

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

辞書ショートカット

すべての辞書の索引

「FileVersionInfo.ProductMinorPart プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS