DataPagerFieldCollection.CloneFields(DataPager) 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::DataPagerFieldCollection ^ CloneFields(System::Web::UI::WebControls::DataPager ^ pager);
public System.Web.UI.WebControls.DataPagerFieldCollection CloneFields (System.Web.UI.WebControls.DataPager pager);
member this.CloneFields : System.Web.UI.WebControls.DataPager -> System.Web.UI.WebControls.DataPagerFieldCollection
Public Function CloneFields (pager As DataPager) As DataPagerFieldCollection
Parameters
- pager
- DataPager
The object that contains the collection.
Returns
An object that contains a copy of each DataPagerField object that is in the current collection.
Remarks
This method is primarily used in design-time dialog boxes to implement rollback behavior when an operation is canceled.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.