Removes the connection between the repository item and the specified object.
public virtual void Disconnect( object connector )
Public Overridable Sub Disconnect( connector As Object )
An object representing the control from which the repository item is disconnected.
The Disconnect method is called by container controls to remove the connection between the repository item and a control's element (a grid column, for instance). Calling this method decreases the RepositoryItem.LinkCount value by one. The repository item can only be deleted from a RepositoryItemCollection collection if it is not connected to any object (its RepositoryItem.LinkCount property value is 0).