Reference.RevisionNumber Property
Gets the revision number of the reference. Read-only.
Namespace: VSLangProj
Assembly: VSLangProj (in VSLangProj.dll)
Syntax
'Declaration
ReadOnly Property RevisionNumber As Integer
Get
int RevisionNumber { get; }
property int RevisionNumber {
int get ();
}
abstract RevisionNumber : int
function get RevisionNumber () : int
Property Value
Type: System.Int32
Long.
The number returned depends on the reference type.
Reference Type |
Value Returned |
---|---|
Assembly |
Revision version number of the reference; 0–9999. |
COM |
0 |
Remarks
This property returns a value indicating the revision number of a build. 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.
Examples
See the example in Reference.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.