-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
FeatureSupport.xml
396 lines (372 loc) · 28.4 KB
/
FeatureSupport.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<Type Name="FeatureSupport" FullName="System.Windows.Forms.FeatureSupport">
<TypeSignature Language="C#" Value="public abstract class FeatureSupport : System.Windows.Forms.IFeatureSupport" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit FeatureSupport extends System.Object implements class System.Windows.Forms.IFeatureSupport" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.FeatureSupport" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class FeatureSupport
Implements IFeatureSupport" />
<TypeSignature Language="F#" Value="type FeatureSupport = class
 interface IFeatureSupport" />
<TypeSignature Language="C++ CLI" Value="public ref class FeatureSupport abstract : System::Windows::Forms::IFeatureSupport" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Windows.Forms.IFeatureSupport</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides <see langword="static" /> methods for retrieving feature information from the current system.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the `static` methods of this class when the classes you query for feature information implement the <xref:System.Windows.Forms.IFeatureSupport> interface. Otherwise, inherit from <xref:System.Windows.Forms.FeatureSupport> and provide your own implementation. For an implementation of this class, see <xref:System.Windows.Forms.OSFeature>.
To get the version number of a feature, call <xref:System.Windows.Forms.FeatureSupport.GetVersionPresent%2A>. Call <xref:System.Windows.Forms.FeatureSupport.IsPresent%2A> to determine if a particular feature or version of a feature is installed.
## Examples
The following example uses the <xref:System.Windows.Forms.OSFeature> implementation of <xref:System.Windows.Forms.FeatureSupport> and queries for the <xref:System.Windows.Forms.OSFeature.LayeredWindows> feature. The version is checked to see if it is `null`, to determine whether the feature is present. The result is displayed in a text box. This code assumes `textBox1` has been created and placed on a form.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1":::
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>When you inherit from <see cref="T:System.Windows.Forms.FeatureSupport" />, you must override the <see cref="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.String,System.String)" /> method. When you override this method, check that the class that you use for the <paramref name="feature" /> parameter is the same as the class used for this parameter in the <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" /> method. If the two <paramref name="feature" /> parameters differ, you also must override <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" />.</para>
</block>
<altmember cref="T:System.Windows.Forms.OSFeature" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected FeatureSupport ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:
 FeatureSupport();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.FeatureSupport" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="GetVersionPresent">
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the version of the specified feature that is available on the system.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetVersionPresent">
<MemberSignature Language="C#" Value="public abstract Version GetVersionPresent (object feature);" FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Version GetVersionPresent(object feature) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public MustOverride Function GetVersionPresent (feature As Object) As Version" />
<MemberSignature Language="F#" Value="abstract member GetVersionPresent : obj -> Version" Usage="featureSupport.GetVersionPresent feature" />
<MemberSignature Language="C++ CLI" Value="public:
 abstract Version ^ GetVersionPresent(System::Object ^ feature);" />
<MemberSignature Language="C#" Value="public abstract Version? GetVersionPresent (object feature);" FrameworkAlternate="windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Forms.IFeatureSupport.GetVersionPresent(System.Object)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Version</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="feature" Type="System.Object" />
</Parameters>
<Docs>
<param name="feature">The feature whose version is requested.</param>
<summary>When overridden in a derived class, gets the version of the specified feature that is available on the system.</summary>
<returns>A <see cref="T:System.Version" /> representing the version number of the specified feature available on the system; or <see langword="null" /> if the feature is not installed.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Version numbers consist of three parts: major, minor, and build. Typically, a version number is displayed as "major number.minor number.build number".
## Examples
The following code example uses the <xref:System.Windows.Forms.OSFeature> implementation of <xref:System.Windows.Forms.FeatureSupport> and queries for the <xref:System.Windows.Forms.OSFeature.LayeredWindows> feature. The version is checked to see if it is `null`, to determine whether the feature is present. The result is displayed in a text box. This code requires that `textBox1` has been created and placed on a form.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1":::
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>When you inherit from <see cref="T:System.Windows.Forms.FeatureSupport" />, you must override this method. When you override this method, check that the class that you use for the <paramref name="feature" /> parameter is the same as the class used for this parameter in the <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" /> method. If the two <paramref name="feature" /> parameters differ, you must also override <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" />.
See <see cref="M:System.Windows.Forms.OSFeature.GetVersionPresent(System.Object)" /> for an implementation of this method.</para>
</block>
<altmember cref="M:System.Windows.Forms.OSFeature.GetVersionPresent(System.Object)" />
</Docs>
</Member>
<Member MemberName="GetVersionPresent">
<MemberSignature Language="C#" Value="public static Version GetVersionPresent (string featureClassName, string featureConstName);" FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Version GetVersionPresent(string featureClassName, string featureConstName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetVersionPresent (featureClassName As String, featureConstName As String) As Version" />
<MemberSignature Language="F#" Value="static member GetVersionPresent : string * string -> Version" Usage="System.Windows.Forms.FeatureSupport.GetVersionPresent (featureClassName, featureConstName)" />
<MemberSignature Language="C++ CLI" Value="public:
 static Version ^ GetVersionPresent(System::String ^ featureClassName, System::String ^ featureConstName);" />
<MemberSignature Language="C#" Value="public static Version? GetVersionPresent (string featureClassName, string featureConstName);" FrameworkAlternate="windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Version</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="featureClassName" Type="System.String" />
<Parameter Name="featureConstName" Type="System.String" />
</Parameters>
<Docs>
<param name="featureClassName">The fully qualified name of the class to query for information about the specified feature. This class must implement the <see cref="T:System.Windows.Forms.IFeatureSupport" /> interface or inherit from a class that implements this interface.</param>
<param name="featureConstName">The fully qualified name of the feature to look for.</param>
<summary>Gets the version of the specified feature that is available on the system.</summary>
<returns>A <see cref="T:System.Version" /> with the version number of the specified feature available on the system; or <see langword="null" /> if the feature is not installed.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Version numbers consist of three parts: major, minor, and build. Typically, a version number is displayed as "major number.minor number.build number".
See the documentation for the product containing the feature to determine the names to pass to the `featureClassName` and the `featureConstName` parameters.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Forms.OSFeature.GetVersionPresent(System.Object)" />
<altmember cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" />
</Docs>
</Member>
<MemberGroup MemberName="IsPresent">
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Determines whether the specified feature is installed in the system.</summary>
</Docs>
</MemberGroup>
<Member MemberName="IsPresent">
<MemberSignature Language="C#" Value="public virtual bool IsPresent (object feature);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsPresent(object feature) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.IsPresent(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function IsPresent (feature As Object) As Boolean" />
<MemberSignature Language="F#" Value="abstract member IsPresent : obj -> bool
override this.IsPresent : obj -> bool" Usage="featureSupport.IsPresent feature" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual bool IsPresent(System::Object ^ feature);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Forms.IFeatureSupport.IsPresent(System.Object)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="feature" Type="System.Object" />
</Parameters>
<Docs>
<param name="feature">The feature to look for.</param>
<summary>Determines whether any version of the specified feature is installed in the system.</summary>
<returns>
<see langword="true" /> if the feature is present; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example uses the <xref:System.Windows.Forms.OSFeature> implementation of <xref:System.Windows.Forms.FeatureSupport> and queries for the <xref:System.Windows.Forms.OSFeature.LayeredWindows> feature. The version is checked to see if it is `null`, to determine whether the feature is present. The result is displayed in a text box. This code requires that `textBox1` has been created and placed on a form.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1":::
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>When you inherit from <see cref="T:System.Windows.Forms.FeatureSupport" />, you must override the <see cref="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.String,System.String)" /> method. When you override this method, check that the class that you use for the <paramref name="feature" /> parameter is the same as the class used for this parameter in the <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" /> method. If the two <paramref name="feature" /> parameters differ, you must also override <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" />.</para>
</block>
</Docs>
</Member>
<Member MemberName="IsPresent">
<MemberSignature Language="C#" Value="public virtual bool IsPresent (object feature, Version minimumVersion);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsPresent(object feature, class System.Version minimumVersion) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.IsPresent(System.Object,System.Version)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function IsPresent (feature As Object, minimumVersion As Version) As Boolean" />
<MemberSignature Language="F#" Value="abstract member IsPresent : obj * Version -> bool
override this.IsPresent : obj * Version -> bool" Usage="featureSupport.IsPresent (feature, minimumVersion)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual bool IsPresent(System::Object ^ feature, Version ^ minimumVersion);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Windows.Forms.IFeatureSupport.IsPresent(System.Object,System.Version)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="feature" Type="System.Object" />
<Parameter Name="minimumVersion" Type="System.Version" />
</Parameters>
<Docs>
<param name="feature">The feature to look for.</param>
<param name="minimumVersion">A <see cref="T:System.Version" /> representing the minimum version number of the feature to look for.</param>
<summary>Determines whether the specified or newer version of the specified feature is installed in the system.</summary>
<returns>
<see langword="true" /> if the feature is present and its version number is greater than or equal to the specified minimum version number; <see langword="false" /> if the feature is not installed or its version number is below the specified minimum number.</returns>
<remarks>To be added.</remarks>
<block subset="none" type="overrides">
<para>When you inherit from <see cref="T:System.Windows.Forms.FeatureSupport" />, you must override the <see cref="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.String,System.String)" /> method. When you override this method, check that the class that you use for the <paramref name="feature" /> parameter is the same as the class used for this parameter in the <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" /> method. If the two <paramref name="feature" /> parameters differ, you must also override <see cref="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" />.</para>
</block>
</Docs>
</Member>
<Member MemberName="IsPresent">
<MemberSignature Language="C#" Value="public static bool IsPresent (string featureClassName, string featureConstName);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsPresent(string featureClassName, string featureConstName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsPresent (featureClassName As String, featureConstName As String) As Boolean" />
<MemberSignature Language="F#" Value="static member IsPresent : string * string -> bool" Usage="System.Windows.Forms.FeatureSupport.IsPresent (featureClassName, featureConstName)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsPresent(System::String ^ featureClassName, System::String ^ featureConstName);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="featureClassName" Type="System.String" />
<Parameter Name="featureConstName" Type="System.String" />
</Parameters>
<Docs>
<param name="featureClassName">The fully qualified name of the class to query for information about the specified feature. This class must implement the <see cref="T:System.Windows.Forms.IFeatureSupport" /> interface or inherit from a class that implements this interface.</param>
<param name="featureConstName">The fully qualified name of the feature to look for.</param>
<summary>Determines whether any version of the specified feature is installed in the system. This method is <see langword="static" />.</summary>
<returns>
<see langword="true" /> if the specified feature is present; <see langword="false" /> if the specified feature is not present or if the product containing the feature is not installed.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
See the documentation for the product containing the feature to determine the names to pass to the `featureClassName` and the `featureConstName` parameters.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.String,System.String)" />
</Docs>
</Member>
<Member MemberName="IsPresent">
<MemberSignature Language="C#" Value="public static bool IsPresent (string featureClassName, string featureConstName, Version minimumVersion);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsPresent(string featureClassName, string featureConstName, class System.Version minimumVersion) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.FeatureSupport.IsPresent(System.String,System.String,System.Version)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsPresent (featureClassName As String, featureConstName As String, minimumVersion As Version) As Boolean" />
<MemberSignature Language="F#" Value="static member IsPresent : string * string * Version -> bool" Usage="System.Windows.Forms.FeatureSupport.IsPresent (featureClassName, featureConstName, minimumVersion)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsPresent(System::String ^ featureClassName, System::String ^ featureConstName, Version ^ minimumVersion);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="featureClassName" Type="System.String" />
<Parameter Name="featureConstName" Type="System.String" />
<Parameter Name="minimumVersion" Type="System.Version" />
</Parameters>
<Docs>
<param name="featureClassName">The fully qualified name of the class to query for information about the specified feature. This class must implement the <see cref="T:System.Windows.Forms.IFeatureSupport" /> interface or inherit from a class that implements this interface.</param>
<param name="featureConstName">The fully qualified name of the feature to look for.</param>
<param name="minimumVersion">A <see cref="T:System.Version" /> representing the minimum version number of the feature.</param>
<summary>Determines whether the specified or newer version of the specified feature is installed in the system. This method is <see langword="static" />.</summary>
<returns>
<see langword="true" /> if the feature is present and its version number is greater than or equal to the specified minimum version number; <see langword="false" /> if the feature is not installed or its version number is below the specified minimum number.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
See the documentation for the product containing the feature to determine the names to pass to the `featureClassName` and the `featureConstName` parameters.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Forms.FeatureSupport.GetVersionPresent(System.String,System.String)" />
</Docs>
</Member>
</Members>
</Type>