Description
Returns whether the specified type is supported.
Syntax
Parameters
See Also
Example
Determine if the specified parameter set type is supported.
| [C#] |
|---|
// Check if the specified parameter set type is supported.
if (provider.ParameterSets.Factory.IsTypeSupported(parameterSetType))
{
//Create a ParameterSet with the supported Type
IAgCrdnParameterSet parameterSet = provider.ParameterSets.Factory.Create(
"MyParameterSet", string.Empty,
parameterSetType);
}
|
|
Determine if the specified parameter set type is supported.
| [Visual Basic .NET] |
|---|
' Check if the specified parameter set type is supported.
If provider.ParameterSets.Factory.IsTypeSupported(parameterSetType) Then
'Create a ParameterSet with the supported Type
Dim parameterSet As IAgCrdnParameterSet = provider.ParameterSets.Factory.Create("MyParameterSet", String.Empty, parameterSetType)
End If
|
|