RemoveService Method
Collapse the table of content
Expand the table of content

GameServiceContainer.RemoveService Method

Removes the object providing a specified service.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

public void RemoveService (
         Type type
)

Parameters

type
Type: Type
The type of service.

Exception typeCondition
ArgumentNullException The type parameter is null.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2016 Microsoft