ApplicationManager.StopObject(String, Type) Método
Definição
Remove o objeto especificado da lista de objetos registrados em um aplicativo.Removes the specified object from the list of registered objects in an application. Se o objeto a ser removido for o último objeto restante na lista de objetos registrados em um aplicativo, o aplicativo será descarregado.If the object to be removed is the last remaining object in the list of registered objects in an application, the application is unloaded.
public:
void StopObject(System::String ^ appId, Type ^ type);
public void StopObject (string appId, Type type);
member this.StopObject : string * Type -> unit
Public Sub StopObject (appId As String, type As Type)
Parâmetros
- appId
- String
O identificador exclusivo para o aplicativo que possui o objeto.The unique identifier for the application that owns the object.
- type
- Type
O tipo do objeto a descarregar.The type of the object to unload.