Compartilhar via


Reference.BuildNumber Property

Definition

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

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

Property Value

Long. The value returned depends on the reference type.Reference TypeValue ReturnedAssemblyBuild number of the reference; 0-9999.COM0

Attributes

Examples

See the example in Reference.

Remarks

The BuildNumber property sets 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.

Applies to