Reference3::RevisionNumber Property

 

Gets the revision number of the reference.

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

property int RevisionNumber {
	int get();
}

Property Value

Type: System::Int32

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

Reference Type

Value Returned

Assembly

Revision version number of the reference; 0–9999.

COM

0

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 it then displays their revision numbers. 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 reference added 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: