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!

FeatureSupport.IsPresent (Object, Version)

Determines whether the specified or newer version of the specified feature is currently available on the system.

[Visual Basic]
Overloads Overridable Public Function IsPresent( _
   ByVal feature As Object, _
   ByVal minimumVersion As Version _
) As Boolean
[C#]
public virtual bool IsPresent(
   object feature,
   Version minimumVersion
);
[C++]
public: virtual bool IsPresent(
   Object* feature,
   Version* minimumVersion
);
[JScript]
public function IsPresent(
   feature : Object,
   minimumVersion : Version
) : Boolean;

Parameters

feature
The feature to look for.
minimumVersion
A Version representing the minimum version of the feature to look for.

Return Value

true if the requested version of the feature is present; otherwise, false.

Remarks

Notes to Inheritors: When you inherit from FeatureSupport, you must override GetVersionPresent. Unless you also override IsPresent, the class of the feature parameter passed to this implementation of IsPresent must be the same as the class of the feature parameter defined in your implementation of GetVersionPresent.

See Also

FeatureSupport Class | FeatureSupport Members | System.WinForms Namespace | FeatureSupport.IsPresent Overload List