Export (0) Print
Expand All
Expand Minimize

MsoCondition Enumeration

Defines the condition for comparison between a file and a specified property in a file search.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum MsoCondition

Member nameDescription
msoConditionFileTypeAllFilesFile can be any type.
msoConditionFileTypeOfficeFilesFile can be any Office file type.
msoConditionFileTypeWordDocumentsWord document.
msoConditionFileTypeExcelWorkbooksExcel workbook.
msoConditionFileTypePowerPointPresentationsPowerPoint presentation.
msoConditionFileTypeBindersBinder file.
msoConditionFileTypeDatabasesDatabase.
msoConditionFileTypeTemplatesTemplate.
msoConditionIncludesValue of the file property specified in Name property of the PropertyTest object includes the value specified in the Value property of the PropertyTest object.
msoConditionIncludesPhraseValue of the file property specified in Name property of the PropertyTest object includes the phrase specified in the value specified in the Value property of the PropertyTest object.
msoConditionBeginsWithValue of the file property specified in Name property of the PropertyTest object begins with the value specified in the Value property of the PropertyTest object.
msoConditionEndsWithValue of the file property specified in Name property of the PropertyTest object ends with the value specified in the Value property of the PropertyTest object.
msoConditionIncludesNearEachOtherValue of the file property specified in Name property of the PropertyTest object and the value specified in the Value property of the PropertyTest object are near each other.
msoConditionIsExactlyValue of the file property specified in Name property of the PropertyTest object is exactly the value specified in the Value property of the PropertyTest object.
msoConditionIsNotValue of the file property specified in Name property of the PropertyTest object is not the value specified in the Value property of the PropertyTest object.
msoConditionYesterdayDate specified in the Name property of the PropertyTest object is yesterday.
msoConditionTodayDate specified in the Name property of the PropertyTest object is today.
msoConditionTomorrowDate specified in the Name property of the PropertyTest object is tomorrow.
msoConditionLastWeekDate specified in the Name property of the PropertyTest object is within the last week.
msoConditionThisWeekDate specified in the Name property of the PropertyTest object is this week.
msoConditionNextWeekDate specified in the Name property of the PropertyTest object is next week.
msoConditionLastMonthDate specified in the Name property of the PropertyTest object is within the last month.
msoConditionThisMonthDate specified in the Name property of the PropertyTest object is this month.
msoConditionNextMonthDate specified in the Name property of the PropertyTest object is next month.
msoConditionAnytimeDate specified in the Name property of the PropertyTest object can be any time.
msoConditionAnytimeBetweenDate specified in the Name property of the PropertyTest object is between the dates specified with the Value and SecondValue properties of the PropertyTest object.
msoConditionOnDate specified in the Name property of the PropertyTest object is the same as the date specified in the Value property of the PropertyTest object.
msoConditionOnOrAfterDate specified in the Name property of the PropertyTest object is on or after the date specified in the Value property of the PropertyTest object.
msoConditionOnOrBeforeDate specified in the Name property of the PropertyTest object is on or before the date specified in the Value property of the PropertyTest object.
msoConditionInTheNextDate specified in the Name property of the PropertyTest object is within the next time interval specified in the Value property of the PropertyTest object.
msoConditionInTheLastDate specified in the Name property of the PropertyTest object is within the last time interval specified in the Value property of the PropertyTest object.
msoConditionEqualsValue of the file property specified in Name property of the PropertyTest object equals the value specified in the Value property of the PropertyTest object.
msoConditionDoesNotEqualValue of the file property specified in Name property of the PropertyTest object does not equal the value specified in the Value property of the PropertyTest object.
msoConditionAnyNumberBetweenAny number between values specified with the Value and SecondValue properties of the PropertyTest object.
msoConditionAtMostValue of the file property specified in Name property of the PropertyTest object is at most the value specified in the Value property of the PropertyTest object.
msoConditionAtLeastValue of the file property specified in Name property of the PropertyTest object is at least the value specified in the Value property of the PropertyTest object.
msoConditionMoreThanValue of the file property specified in Name property of the PropertyTest object is more than the value specified in the Value property of the PropertyTest object.
msoConditionLessThanValue of the file property specified in Name property of the PropertyTest object is less than the value specified in the Value property of the PropertyTest object.
msoConditionIsYesValue of the file property specified in Name property of the PropertyTest object is "True".
msoConditionIsNoValue of the file property specified in Name property of the PropertyTest object is "False".
msoConditionIncludesFormsOfValue of the file property specified in Name property of the PropertyTest object includes forms of the value specified in the Value property of the PropertyTest object.
msoConditionFreeTextValue of the file property specified in the Name property of the PropertyTest object matches the value specified in the Value property of the PropertyTest object when a FreeText search is used.
msoConditionFileTypeOutlookItemsOutlook item.
msoConditionFileTypeMailItemMail item.
msoConditionFileTypeCalendarItemCalendar item.
msoConditionFileTypeContactItemContact item.
msoConditionFileTypeNoteItemNote item.
msoConditionFileTypeJournalItemJournal item.
msoConditionFileTypeTaskItemTask item.
msoConditionFileTypePhotoDrawFilesPhotoDraw file.
msoConditionFileTypeDataConnectionFilesData connection file.
msoConditionFileTypePublisherFilesPublisher file.
msoConditionFileTypeProjectFilesProject file.
msoConditionFileTypeDocumentImagingFilesDocument imaging file.
msoConditionFileTypeVisioFilesVisio file.
msoConditionFileTypeDesignerFilesDesigner file.
msoConditionFileTypeWebPagesWeb page.
msoConditionEqualsLowPriority equals "Low". Value of the Name property must be Priority.
msoConditionEqualsNormalPriority equals "Normal". Value of the Name property must be Priority.
msoConditionEqualsHighPriority equals "High". Value of the Name property must be Priority.
msoConditionNotEqualToLowValue of file property specified in the Name property of the PropertyTest object does not equal "Low". Value of the Name property must be Priority or Importance.
msoConditionNotEqualToNormalValue of file property specified in the Name property of the PropertyTest object does not equal "Normal". Value of the Name property must be Priority or Importance.
msoConditionNotEqualToHighValue of file property specified in the Name property of the PropertyTest object does not equal "High". Value of the Name property must be Priority or Importance.
msoConditionEqualsNotStartedStatus equals "Not Started". Value of the Name property must be Status.
msoConditionEqualsInProgressStatus equals "In Progress". Value of the Name property must be Status.
msoConditionEqualsCompletedStatus equals "Completed". Value of the Name property must be Status.
msoConditionEqualsWaitingForSomeoneElseStatus equals "Waiting for Someone Else". Value of the Name property must be Status.
msoConditionEqualsDeferredStatus equals "Deferred". Value of the Name property must be Status.
msoConditionNotEqualToNotStartedStatus does not equal "Not Started". Value of the Name property must be Status.
msoConditionNotEqualToInProgressStatus does not equal "In Progress". Value of the Name property must be Status.
msoConditionNotEqualToCompletedStatus does not equal "Completed". Value of the Name property must be Status.
msoConditionNotEqualToWaitingForSomeoneElseStatus does not equal "Waiting for Someone Else". Value of the Name property must be Status.
msoConditionNotEqualToDeferredStatus does not equal "Deferred". Value of the Name property must be Status.

Used to get or set the Condition property of the PropertyTest object. PropertyTest is part of the FileSearch object model. The behavior of FileSearch corresponds to the interactive behavior you see in the Finddialog box, which you open from the Tools menu in the application's Open dialog box (File menu).

Community Additions

ADD
Show:
© 2014 Microsoft