The following tables list the members exposed by NameSearchCondition.

      Public Constructors

      NameDescription
      Public ConstructorsNameSearchCondition ConstructorOverloaded. Initializes a new instance of the NameSearchCondition with the specified filemasks. This will search for both file and symlink.
      Top

      Public Properties

      NameDescription
      Public PropertiesDirectoryPathMasksGets an array of path masks.
      Public PropertiesFileMasksGets an array of filemasks.
      Public PropertiesFileTypesGets or sets the file type to search for. (Inherited from SearchCondition)
      Public PropertiesIgnoreCaseGets or sets a boolean value indicating whether the file or folder name matching is not case-sensitive.
      Top

      Protected Properties

      NameDescription
      Protected PropertiesParentGets the parent search condition in a hierarchy. (Inherited from SearchCondition)
      Top

      Public Methods

      NameDescription
      Public MethodsAndThis states that the items must match the current search condition and all the specified ones in order to be processed. (Inherited from SearchCondition)
      Public MethodsAndModifiedAfterReturns a logical AND filter operation of the current search condition with a new TimeSearchCondition object that filters all items with modified date and time after the specified date and time. (Inherited from SearchCondition)
      Public MethodsAndModifiedBeforeReturns a logical AND filter operation of the current search condition with a new TimeSearchCondition object that filters all items with modified date and time before the specified date and time. (Inherited from SearchCondition)
      Public MethodsAndModifiedBetweenReturns a logical AND filter operation of the current search condition with a new TimeSearchCondition object that filters all items with modified date and time between the specified period. (Inherited from SearchCondition)
      Public MethodsAndNotThis states that the items must match the current search condition AND NOT the specified one in order to be processed. (Inherited from SearchCondition)
      Public MethodsAndSizeEqualToReturns a logical AND filter operation of the current search condition with a new SizeSearchCondition object that filters all items with size equal to the specified size. (Inherited from SearchCondition)
      Public MethodsAndSizeGreaterThanReturns a logical AND filter operation of the current search condition with a new SizeSearchCondition object that filters all items with size greater than the specified size. (Inherited from SearchCondition)
      Public MethodsAndSizeInRangeReturns a logical AND filter operation of the current search condition with a new SizeSearchCondition object that filters all items with size between the specified size. (Inherited from SearchCondition)
      Public MethodsAndSizeLessThanReturns a logical AND filter operation of the current search condition with a new SizeSearchCondition object that filters all items with size less than the specified size. (Inherited from SearchCondition)
      Public MethodsStatic MemberCreateThis states that the items must match all the specified search conditions regrouped within the AndSearchCondition class in order to be processed. (Inherited from SearchCondition)
      Public MethodsExcludeMasksAdds the specified filtering path or mask to use to scan file path or names to the exclusion patterns. (Inherited from SearchCondition)
      Public MethodsExcludePathMasksAdds the specified filtering path mask to use to scan file path to the exclusion patterns. (Inherited from SearchCondition)
      Public MethodsIncludeMasksAdds the specified filtering path or mask to use to scan file path or names to the inclusion patterns. (Inherited from SearchCondition)
      Public MethodsIncludePathMasksAdds the specified filtering path mask to use to scan file path to the inclusion patterns. (Inherited from SearchCondition)
      Public MethodsMatchesOverloaded. Overridden. Returns a boolean value indicating whether the item matches at least of the filemasks.
      Public MethodsStatic MemberMatchesAllConditionsChecks whether the specified file item matches all the specified search conditions. (Inherited from SearchCondition)
      Public MethodsStatic MemberMatchesOneConditionChecks whether the specified file item matches at least one of the specified search conditions. (Inherited from SearchCondition)
      Public MethodsStatic MemberModifiedAfterReturns a logical AND filter operation of the current search condition with a new TimeSearchCondition object that filters all items with modified date and time after the specified date and time. (Inherited from SearchCondition)
      Public MethodsStatic MemberModifiedBeforeReturns a new TimeSearchCondition object that filters all items with modified date and time before the specified date and time. (Inherited from SearchCondition)
      Public MethodsStatic MemberModifiedBetweenReturns a new TimeSearchCondition object that filters all items with modified date and time between the specified period. (Inherited from SearchCondition)
      Public MethodsOrThis states that the items must match the current search condition or at least one of the specified search conditions regrouped in order to be processed. (Inherited from SearchCondition)
      Public MethodsReverseReverses this search condition. This states that the items must NOT match the current search condition in order to be processed. (Inherited from SearchCondition)
      Public MethodsStatic MemberSizeEqualToReturns a new SizeSearchCondition object that filters all items with size equal to the specified size. (Inherited from SearchCondition)
      Public MethodsStatic MemberSizeGreaterThanReturns a new SizeSearchCondition object that filters all items with size greater than the specified size. (Inherited from SearchCondition)
      Public MethodsStatic MemberSizeInRangeReturns a new SizeSearchCondition object that filters all items with size between the specified size. (Inherited from SearchCondition)
      Public MethodsStatic MemberSizeLessThanReturns a new SizeSearchCondition object that filters all items with size less than the specified size. (Inherited from SearchCondition)
      Public MethodsToStringOverridden. Converts the object to string.
      Top

      Protected Methods

      NameDescription
      Protected MethodsMatchesFileTypeReturns a boolean value indicating whether the item's type matches the search condition's file type. (Inherited from SearchCondition)
      Protected MethodsOnFileTypesUpdateRequiredCalled when a child search condition's FilesType has been changed and this FileTypes needs to be changed accordingly. (Inherited from SearchCondition)
      Top

      Public Operators

      NameDescription
      Public OperatorsAdditionCreates a new AndSearchCondition object from the specified search conditions. It's similar to "a AND b". (Inherited from SearchCondition)
      Public OperatorsAndCreates a new AndSearchCondition object from the specified search conditions. It equals to "a AND b". (Inherited from SearchCondition)
      Public OperatorsOrCreates a new OrSearchCondition object from the specified search conditions. It equals to "a OR b". (Inherited from SearchCondition)
      Public OperatorsImplicit Type ConversionCreates a new NameSearchCondition from the specified search pattern. (Inherited from SearchCondition)
      Public OperatorsLogical NotCreates a new NotSearchCondition object from the specified search condition. It equals to "NOT a". (Inherited from SearchCondition)
      Public OperatorsSubtractionCreates a new OrSearchCondition object from the specified search conditions. It equals to "a AND NOT b". (Inherited from SearchCondition)
      Top

      See Also