System.Windows.Forms.FeatureSupport.GetVersionPresent Method

When overridden in a derived class, gets the version of the specified feature that is available on the system.

Syntax

public abstract Version GetVersionPresent (object feature)

Parameters

feature
The feature whose version is requested.

Returns

A Version representing the version number of the specified feature available on the system; or null if the feature is not installed.

Remarks

Version numbers consist of three parts: major, minor, and build. Typically, a version number is displayed as "major number.minor number.build number".

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0