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






Windows & Linux

Description

Returns true if the specified system type is supported.

Syntax

[Visual Basic .NET]
Public Function IsTypeSupported( _
    ByVal Type As AgECrdnSystemType _
) As 
[C#]
public bool IsTypeSupported(
    AgECrdnSystemType Type
);
[Managed C++]
public: bool IsTypeSupported(
    AgECrdnSystemType Type
);
[Java]
public bool isTypeSupported(
    AgECrdnSystemType Type
);
[Unmanaged C++]
public: HRESULT IsTypeSupported(
    AgECrdnSystemType Type,
    VARIANT_BOOL * pRetVal
);

Parameters

Type

See Also

Example

Determine if the specified System type is supported.
[C#]
// Check if the specified system type is supported.
if (provider.Systems.Factory.IsTypeSupported(SystemType))
{
    //Create a System with supported Type
    IAgCrdnSystem system = provider.Systems.Factory.Create("SystemName",
        string.Empty, SystemType);
}
Determine if the specified System type is supported.
[Visual Basic .NET]
' Check if the specified system type is supported.
If provider.Systems.Factory.IsTypeSupported(SystemType) Then
	'Create a System with supported Type
	Dim system As IAgCrdnSystem = provider.Systems.Factory.Create("SystemName", String.Empty, SystemType)
End If
© 2020 Analytical Graphics, Inc. All Rights Reserved.