UndoEngine.GetRequiredService(Type) Metoda

Definice

Získá požadovanou službu.

protected:
 System::Object ^ GetRequiredService(Type ^ serviceType);
protected object GetRequiredService(Type serviceType);
member this.GetRequiredService : Type -> obj
Protected Function GetRequiredService (serviceType As Type) As Object

Parametry

serviceType
Type

Typ služby, která se má načíst.

Návraty

Požadovaná služba, pokud byla nalezena.

Výjimky

serviceType je null.

serviceType je povinný, ale nelze ho najít. Pokud jste tuto službu odebrali, ujistěte se, že jste zadali náhradu.

Platí pro