예제 #1
0
        public virtual object Clone()
        {
            BrowseFilters filters = (BrowseFilters)base.MemberwiseClone();

            filters.PropertyIDs = (this.PropertyIDs != null) ? ((PropertyID[])this.PropertyIDs.Clone()) : null;
            return(filters);
        }
예제 #2
0
 public BrowsePosition(ItemIdentifier itemID, BrowseFilters filters)
 {
     if (filters == null)
     {
         throw new ArgumentNullException("filters");
     }
     this.m_itemID  = (itemID != null) ? ((ItemIdentifier)itemID.Clone()) : null;
     this.m_filters = (BrowseFilters)filters.Clone();
 }