Condividi tramite


Reference.RevisionNumber Property

Definition

Gets the revision number of the reference. Read-only.

public:
 property int RevisionNumber { int get(); };
public:
 property int RevisionNumber { int get(); };
[System.Runtime.InteropServices.DispId(13)]
public int RevisionNumber { [System.Runtime.InteropServices.DispId(13)] get; }
[<System.Runtime.InteropServices.DispId(13)>]
[<get: System.Runtime.InteropServices.DispId(13)>]
member this.RevisionNumber : int
Public ReadOnly Property RevisionNumber As Integer

Property Value

Long. The number returned depends on the reference type.Reference TypeValue ReturnedAssemblyRevision version number of the reference; 0–9999.COM0

Attributes

Examples

See the example in Reference.

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.

Applies to