Gets the special build information for the file.
[Visual Basic] Public ReadOnly Property SpecialBuild As String [C#] public string SpecialBuild {get;} [C++] public: __property String* get_SpecialBuild(); [JScript] public function get SpecialBuild() : String;
The special build information for the file.
If IsSpecialBuild is true, SpecialBuild must specify how this file differs from the standard version of the file.
The following example calls GetVersionInfo to get a FileVersionInfo for the specified file and determines whether it is a special build. If IsSpecialBuild is true, the special build information is displayed in the label; otherwise, false is displayed in the label. This code assumes Label1 has been instantiated.
The following example calls GetVersionInfo to get a FileVersionInfo for the Notepad. Then it prints the special build information in a text box. This code assumes TextBox1 has been instantiated.
[Visual Basic]
Private Sub GetSpecialBuild() Dim myFileVersionInfo As System.Winforms.FileVersionInfo myFileVersionInfo = System.Winforms.FileVersionInfo.GetVersionInfo("c:\WINNT\Notepad.exe") 'Print the file name and version number. TextBox1.Text = "Special Build Information: " & myFileVersionInfo.SpecialBuild End Sub
FileVersionInfo Class | FileVersionInfo Members | System.WinForms Namespace | IsSpecialBuild