Esempio n. 1
0
 /// <summary>
 /// Creates a list of stack keys, as specified. If this method is not called,
 /// by default the folder will not be stacked.
 /// </summary>
 /// <param name="propertyKeys">Array of property keys on which the folder is stacked.</param>
 public void SetStacks(params PropertyKey[] propertyKeys)
 {
     if (propertyKeys != null && propertyKeys.Length > 0)
     {
         NativeSearchFolderItemFactory.SetStacks((uint)propertyKeys.Length, propertyKeys);
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Creates a list of stack keys, as specified. If this method is not called,
        /// by default the folder will not be stacked.
        /// </summary>
        /// <param name="propertyKeys">Array of property keys on which the folder is stacked.</param>
        public void SetStacks(params PROPERTYKEY[] propertyKeys)
        {
            if (propertyKeys?.Length > 0)
            {
                NativeSearchFolderItemFactory.SetStacks((uint)propertyKeys.Length, propertyKeys);
            }

            //if (propertyKeys != null && propertyKeys.Length > 0) {
            //	NativeSearchFolderItemFactory.SetStacks((uint)propertyKeys.Length, propertyKeys);
            //}
        }