[This is preliminary documentation and is subject to change.]

The VersionAttribute type exposes the following members.

Constructors

  NameDescription
Public methodVersionAttribute(Type)
CTor - initializes new instance with version fully inherited from assembly where passed Type is present
Public methodVersionAttribute(Int32, Int32, Type)
CTor - initializes new instance with concrete Major and Minor numbers and inherits Build and Revision from assembly of passed Type
Public methodVersionAttribute(Type, Int32, Int32)
CTor - initializes new instance with concrete Build and Revision numbers and inherits Major and Minor from assembly of passed Type
Public methodVersionAttribute(Int32, Int32, Int32, Int32)
CTor - initializes version as Major.MajorRevision.Minor.MinorRevision
Public methodVersionAttribute(VersionAttribute..::..TypeOrInt32, VersionAttribute..::..TypeOrInt32, VersionAttribute..::..TypeOrInt32, VersionAttribute..::..TypeOrInt32)
CTor - initializes new instance of version with each parameter either defined by Int32 value or inherited from assembly where passed Type is present.

Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)

Properties

  NameDescription
Public propertyBuild
Third part of version number
Public propertyLastChange
Date of last modification (date format in invariant culture: MM/DD/YYYY)
Public propertyLastChangeDate
Date of last modification
Public propertyMajor
First part of version number
Public propertyMinor
Second part of version number
Public propertyNote
Version-related note
Public propertyRevision
Fourth part of version number
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate method_Attribute..::..GetIDsOfNames
Maps a set of names to a corresponding set of dispatch identifiers.
(Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::..GetTypeInfo
Retrieves the type information for an object, which can be used to get the type information for an interface.
(Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::..GetTypeInfoCount
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
(Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::..Invoke
Provides access to properties and methods exposed by an object.
(Inherited from Attribute.)

See Also