MsoCondition Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the condition for comparison between a file and a specified property in a file search.
public enum class MsoCondition
public enum MsoCondition
type MsoCondition =
Public Enum MsoCondition
- Inheritance
-
MsoCondition
Fields
msoConditionAnyNumberBetween | 34 | Any number between values specified with the Value and SecondValue properties of the PropertyTest object. |
msoConditionAnytime | 25 | Date specified in the Name property of the PropertyTest object can be any time. |
msoConditionAnytimeBetween | 26 | Date specified in the Name property of the PropertyTest object is between the dates specified with the Value and SecondValue properties of the PropertyTest object. |
msoConditionAtLeast | 36 | Value 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. |
msoConditionAtMost | 35 | Value 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. |
msoConditionBeginsWith | 11 | Value 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. |
msoConditionDoesNotEqual | 33 | Value 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. |
msoConditionEndsWith | 12 | Value 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. |
msoConditionEquals | 32 | Value of the file property specified in Name property of the PropertyTest object equals the value specified in the Value property of the PropertyTest object. |
msoConditionEqualsCompleted | 66 | Status equals "Completed". Value of the Name property must be Status. |
msoConditionEqualsDeferred | 68 | Status equals "Deferred". Value of the Name property must be Status. |
msoConditionEqualsHigh | 60 | Priority equals "High". Value of the Name property must be Priority. |
msoConditionEqualsInProgress | 65 | Status equals "In Progress". Value of the Name property must be Status. |
msoConditionEqualsLow | 58 | Priority equals "Low". Value of the Name property must be Priority. |
msoConditionEqualsNormal | 59 | Priority equals "Normal". Value of the Name property must be Priority. |
msoConditionEqualsNotStarted | 64 | Status equals "Not Started". Value of the Name property must be Status. |
msoConditionEqualsWaitingForSomeoneElse | 67 | Status equals "Waiting for Someone Else". Value of the Name property must be Status. |
msoConditionFileTypeAllFiles | 1 | File can be any type. |
msoConditionFileTypeBinders | 6 | Binder file. |
msoConditionFileTypeCalendarItem | 45 | Calendar item. |
msoConditionFileTypeContactItem | 46 | Contact item. |
msoConditionFileTypeDatabases | 7 | Database. |
msoConditionFileTypeDataConnectionFiles | 51 | Data connection file. |
msoConditionFileTypeDesignerFiles | 56 | Designer file. |
msoConditionFileTypeDocumentImagingFiles | 54 | Document imaging file. |
msoConditionFileTypeExcelWorkbooks | 4 | Excel workbook. |
msoConditionFileTypeJournalItem | 48 | Journal item. |
msoConditionFileTypeMailItem | 44 | Mail item. |
msoConditionFileTypeNoteItem | 47 | Note item. |
msoConditionFileTypeOfficeFiles | 2 | File can be any Office file type. |
msoConditionFileTypeOutlookItems | 43 | Outlook item. |
msoConditionFileTypePhotoDrawFiles | 50 | PhotoDraw file. |
msoConditionFileTypePowerPointPresentations | 5 | PowerPoint presentation. |
msoConditionFileTypeProjectFiles | 53 | Project file. |
msoConditionFileTypePublisherFiles | 52 | Publisher file. |
msoConditionFileTypeTaskItem | 49 | Task item. |
msoConditionFileTypeTemplates | 8 | Template. |
msoConditionFileTypeVisioFiles | 55 | Visio file. |
msoConditionFileTypeWebPages | 57 | Web page. |
msoConditionFileTypeWordDocuments | 3 | Word document. |
msoConditionFreeText | 42 | Value 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. |
msoConditionIncludes | 9 | Value of the file property specified in Name property of the PropertyTest object includes the value specified in the Value property of the PropertyTest object. |
msoConditionIncludesFormsOf | 41 | Value 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. |
msoConditionIncludesNearEachOther | 13 | Value 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. |
msoConditionIncludesPhrase | 10 | Value 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. |
msoConditionInTheLast | 31 | Date specified in the Name property of the PropertyTest object is within the last time interval specified in the Value property of the PropertyTest object. |
msoConditionInTheNext | 30 | Date specified in the Name property of the PropertyTest object is within the next time interval specified in the Value property of the PropertyTest object. |
msoConditionIsExactly | 14 | Value 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. |
msoConditionIsNo | 40 | Value of the file property specified in Name property of the PropertyTest object is "False". |
msoConditionIsNot | 15 | Value 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. |
msoConditionIsYes | 39 | Value of the file property specified in Name property of the PropertyTest object is "True". |
msoConditionLastMonth | 22 | Date specified in the Name property of the PropertyTest object is within the last month. |
msoConditionLastWeek | 19 | Date specified in the Name property of the PropertyTest object is within the last week. |
msoConditionLessThan | 38 | Value 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. |
msoConditionMoreThan | 37 | Value 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. |
msoConditionNextMonth | 24 | Date specified in the Name property of the PropertyTest object is next month. |
msoConditionNextWeek | 21 | Date specified in the Name property of the PropertyTest object is next week. |
msoConditionNotEqualToCompleted | 71 | Status does not equal "Completed". Value of the Name property must be Status. |
msoConditionNotEqualToDeferred | 73 | Status does not equal "Deferred". Value of the Name property must be Status. |
msoConditionNotEqualToHigh | 63 | Value 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. |
msoConditionNotEqualToInProgress | 70 | Status does not equal "In Progress". Value of the Name property must be Status. |
msoConditionNotEqualToLow | 61 | Value 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. |
msoConditionNotEqualToNormal | 62 | Value 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. |
msoConditionNotEqualToNotStarted | 69 | Status does not equal "Not Started". Value of the Name property must be Status. |
msoConditionNotEqualToWaitingForSomeoneElse | 72 | Status does not equal "Waiting for Someone Else". Value of the Name property must be Status. |
msoConditionOn | 27 | Date specified in the Name property of the PropertyTest object is the same as the date specified in the Value property of the PropertyTest object. |
msoConditionOnOrAfter | 28 | Date specified in the Name property of the PropertyTest object is on or after the date specified in the Value property of the PropertyTest object. |
msoConditionOnOrBefore | 29 | Date specified in the Name property of the PropertyTest object is on or before the date specified in the Value property of the PropertyTest object. |
msoConditionThisMonth | 23 | Date specified in the Name property of the PropertyTest object is this month. |
msoConditionThisWeek | 20 | Date specified in the Name property of the PropertyTest object is this week. |
msoConditionToday | 17 | Date specified in the Name property of the PropertyTest object is today. |
msoConditionTomorrow | 18 | Date specified in the Name property of the PropertyTest object is tomorrow. |
msoConditionYesterday | 16 | Date specified in the Name property of the PropertyTest object is yesterday. |
Remarks
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).