Copies all the data from a specified filter item.
[Visual Basic] Sub CopyFrom( _ ByVal p_FilterItem As IFilterItem _ ) [C#] void CopyFrom( IFilterItem p_FilterItem ); [C++] void CopyFrom( IFilterItem* p_FilterItem ); [JScript] function CopyFrom( IFilterItem p_FilterItem );
Use this method to duplicate all the content of an item.
if ( Flt.ReadNextItem() == FilterItemType.TEXT ) { FilterItem FI = new FilterItem(); FI.CopyFrom(Flt.GetItem()); // Now FI and Flt.Getitem() are independent of each other // can be modified separately. }
IFilterItem Interface | Okapi.Library.Filter Namespace