PropertyTests.Add(String, MsoCondition, Object, Object, MsoConnector) Method
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.
Add a new PropertyTest object to the PropertyTests collection representing the search criteria of a file search.
public void Add (string Name, Microsoft.Office.Core.MsoCondition Condition, object Value, object SecondValue, Microsoft.Office.Core.MsoConnector Connector = Microsoft.Office.Core.MsoConnector.msoConnectorAnd);
abstract member Add : string * Microsoft.Office.Core.MsoCondition * obj * obj * Microsoft.Office.Core.MsoConnector -> unit
Public Sub Add (Name As String, Condition As MsoCondition, Optional Value As Object, Optional SecondValue As Object, Optional Connector As MsoConnector = Microsoft.Office.Core.MsoConnector.msoConnectorAnd)
Parameters
- Name
- String
Required String. The name of the PropertyTest object.
- Condition
- MsoCondition
Required MsoCondition. A constant representing the condition used for the search.
- Value
- Object
Optional Object. A value used by condition
.
- SecondValue
- Object
Optional Object. A second value used by condition
.
- Connector
- MsoConnector
Optional MsoCondition. A constant representinat a connector such as Or or And used in the criterion.