IDataConsumer.Detach Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Detach this data consumer and prepare to return to object pool.
public void Detach();
abstract member Detach : unit -> unit
Public Sub Detach ()
Remarks
Detach from external resources before it is disabled.
This is typically not called by application level code. It is public to allow DataConsumerCollection and similar aggregate consumers to clean up any spawned child data consumers.
The AttachDataConsumer() function allows derived classes to perform additional detach tasks.