Reference3::BuildNumber Property

 

Gets the build number of the reference.

Namespace:   VSLangProj80
Assembly:  VSLangProj80 (in VSLangProj80.dll)

property int BuildNumber {
	int get();
}

Property Value

Type: System::Int32

A Long value. The value returned depends on the reference type.

Reference Type

Value Returned

Assembly

Build number of the reference; 0-9999.

COM

0

The BuildNumber property gets the build component of a version number. The version of a reference is uniquely identified by four components: major, minor, build, and revision. The major and minor components are required. The revision component is optional when build is not defined. COM objects do not have revision and build components. For more information, see Assembly Versioning.

This example adds an assembly and a COM reference to an open Visual Basic or Visual C# project and displays the build number for each reference in a message box. To run this example as an add-in, see How to: Compile and Run the Automation Object Model Code Examples.

The default paths for the added references are: <installation root>\Program Files\Microsoft.NET\Primary Interop Assemblies for adodb.dll, and <installation root>\Program Files\Common Files\SpeechEngines\Microsoft for spcommon.dll. Replace <file path> in the example with these or other appropriate file paths.

No code example is currently available or this language may not be supported.
Return to top
Show: