Reference.BuildNumber Property
Gets the build number of the reference. Read-only.
Namespace: VSLangProj
Assembly: VSLangProj (in VSLangProj.dll)
Syntax
'Declaration
ReadOnly Property BuildNumber As Integer
int BuildNumber { get; }
property int BuildNumber {
int get ();
}
abstract BuildNumber : int with get
function get BuildNumber () : int
Property Value
Type: Int32
Long.
The value returned depends on the reference type.
Reference Type |
Value Returned |
---|---|
Assembly |
Build number of the reference; 0-9999. |
COM |
0 |
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.
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.