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





Windows & Linux

Description

Returns whether the specified type is supported.

Syntax

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

Parameters

EType

See Also

Example

Determine if the specified condition type is supported.
[C#]
// Check if the specified condition type is supported.
if (provider.Conditions.Factory.IsTypeSupported(conditionType))
{
    //Create a Condition with the supported Type
    IAgCrdnCondition condition = provider.Conditions.Factory.Create(
        "MyCondition", string.Empty,
        conditionType);
}
Determine if the specified condition type is supported.
[Visual Basic .NET]
' Check if the specified condition type is supported.
If provider.Conditions.Factory.IsTypeSupported(conditionType) Then
	'Create a Condition with the supported Type
	Dim condition As IAgCrdnCondition = provider.Conditions.Factory.Create("MyCondition", String.Empty, conditionType)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.