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)

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

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

Parameters

feature
The feature to look for.

Return Value

true if 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