次の方法で共有


COM.detach Method

Definition

Detaches a COM object from the class that it was associated with.

public:
 virtual void detach();
public virtual void detach ();
abstract member detach : unit -> unit
override this.detach : unit -> unit
Public Overridable Sub detach ()

Remarks

For example, this method can be called to detach a COM object from a call to the attach or new method.

Applies to