DGKC Control Documentation

Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Computing > IUnk Go to ActiveX docs Search Documentation

IUnk Interface

IUnk is the base class of all DGKC interfaces.

IUnk Query(string typeName)

The method gives access to other interfaces of an object. See samples and your development system documentation for more details


    void f(IAppearance_DG appearance)
        IMaterial_DG material = appearance.Query("IMaterial_DG") as IMaterial_DG;
        IMaterial_DG material2 = appearance.Query<IMaterial_DG>();
        IMaterial_DG material3 = appearance.As<IMaterial_DG>();