DataControlFieldCollection.CloneFields 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.
Creates a copy of the current collection.
public:
System::Web::UI::WebControls::DataControlFieldCollection ^ CloneFields();
public System.Web.UI.WebControls.DataControlFieldCollection CloneFields ();
member this.CloneFields : unit -> System.Web.UI.WebControls.DataControlFieldCollection
Public Function CloneFields () As DataControlFieldCollection
Returns
A DataControlFieldCollection that contains a copy of each data control field in the current collection.
Remarks
Use the CloneFields method to create a copy of the current collection. This method is used primarily by design-time dialog boxes to implement rollback behavior when an operation is canceled.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.