Reference3::RevisionNumber Property
Gets the revision number of the reference.
Assembly: VSLangProj80 (in VSLangProj80.dll)
Property Value
Type: System::Int32A Long. The number returned depends on the reference type.
Reference Type | Value Returned |
|---|---|
Assembly | Revision version number of the reference; 0–9999. |
COM | 0 |
Implements
Reference2::RevisionNumberThe 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.