ServiceCollection.Remove(ServiceDescriptor) 方法

定義

public:
 virtual bool Remove(Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ item);
public bool Remove (Microsoft.Extensions.DependencyInjection.ServiceDescriptor item);
abstract member Remove : Microsoft.Extensions.DependencyInjection.ServiceDescriptor -> bool
override this.Remove : Microsoft.Extensions.DependencyInjection.ServiceDescriptor -> bool
Public Function Remove (item As ServiceDescriptor) As Boolean

參數

傳回

實作

適用於