AGI UI CoreSend comments on this topic.
GetServiceByType Method (IAgUiWindow)
See Also
ServiceType
Windows





Windows & Linux

Description

Returns a service object that can be accessed at runtime. The method returns null if no service object is associated with the specified service type.

Syntax

[Visual Basic .NET]
Public Function GetServiceByType( _
    ByVal ServiceType As AgEWindowService _
) As Object
[C#]
public Object GetServiceByType(
    AgEWindowService ServiceType
);
[Managed C++]
public: IUnknown^ GetServiceByType(
    AgEWindowService ServiceType
);
[Unmanaged C++]
public: HRESULT GetServiceByType(
    AgEWindowService ServiceType,
    IUnknown ** ppRetVal
);
[Java]
public Object getServiceByType(
    AgEWindowService ServiceType
);
[Python - STK API ]
def GetServiceByType(self, ServiceType:"AgEWindowService") -> "IUnknown":

Parameters

ServiceType

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.