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
Get
int BuildNumber { get; }
property int BuildNumber {
int get ();
}
abstract BuildNumber : int
function get BuildNumber () : int
Property Value
Type: System.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.