NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IFeatureSupport.GetVersionPresent

Retrieves the version of the specified feature.

[Visual Basic]
Function GetVersionPresent( _
   ByVal feature As Object _
) As Version
[C#]
Version GetVersionPresent(
   object feature
);
[C++]
Version* GetVersionPresent(
   Object* feature
) = 0;
[JScript]
function GetVersionPresent(
   feature : Object
) : Version;

Parameters

feature
The feature whose version is requested.

Return Value

A Version representing the version of the specified feature currently available on the system. If the feature is present but does not have a version associated with it, such as a feature that can be present or absent, then System.WinForms.VersionNumber.ZERO is returned. If the feature is not present in any version, then System.WinForms.VersionNumber.INVALID is returned.

Remarks

For an implementation of this method, see GetVersionPresent.

See Also

IFeatureSupport Interface | IFeatureSupport Members | System.WinForms Namespace | GetVersionPresent | GetVersionPresent | OSFeature | FeatureSupport