Microsoft.VisualStudio.Project.OleServiceProvider.RemoveService C# (CSharp) Method

RemoveService() public method

public RemoveService ( Type serviceType ) : void
serviceType System.Type
return void
        public virtual void RemoveService(Type serviceType)
        {
            if(serviceType == null)
            {
                throw new ArgumentNullException("serviceType");
            }

            if(services.ContainsKey(serviceType.GUID))
            {
                services.Remove(serviceType.GUID);
            }
        }