STK Vector Geometry ToolSend comments on this topic.
IsTypeSupported Method (IAgCrdnParameterSetFactory)
See Also
EType
Windows





Windows & Linux

Description

Returns whether the specified type is supported.

Syntax

[Visual Basic .NET]
Public Function IsTypeSupported( _
    ByVal EType As AgECrdnParameterSetType _
) As Boolean
[C#]
public bool IsTypeSupported(
    AgECrdnParameterSetType EType
);
[Managed C++]
public: bool IsTypeSupported(
    AgECrdnParameterSetType EType
);
[Unmanaged C++]
public: HRESULT IsTypeSupported(
    AgECrdnParameterSetType EType,
    VARIANT_BOOL * pRetVal
);
[Java]
public bool isTypeSupported(
    AgECrdnParameterSetType EType
);
[Python - STK API ]
def IsTypeSupported(self, EType:"AgECrdnParameterSetType") -> bool:

Parameters

EType

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
© 2024 Analytical Graphics, Inc. All Rights Reserved.