PropertyTests.Add Method
Add a new PropertyTest object to the PropertyTests collection representing the search criteria of a file search.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub Add ( _
Name As String, _
Condition As MsoCondition, _
Value As Object, _
SecondValue As Object, _
Connector As MsoConnector _
)
'Usage
Dim instance As PropertyTests
Dim Name As String
Dim Condition As MsoCondition
Dim Value As Object
Dim SecondValue As Object
Dim Connector As MsoConnector
instance.Add(Name, Condition, Value, SecondValue, _
Connector)
void Add(
string Name,
MsoCondition Condition,
Object Value,
Object SecondValue,
MsoConnector Connector
)
Parameters
Name
Type: System.StringRequired String. The name of the PropertyTest object.
Condition
Type: Microsoft.Office.Core.MsoConditionRequired MsoCondition. A constant representing the condition used for the search.
Value
Type: System.ObjectOptional Object. A value used by condition.
SecondValue
Type: System.ObjectOptional Object. A second value used by condition.
Connector
Type: Microsoft.Office.Core.MsoConnectorOptional MsoCondition. A constant representinat a connector such as Or or And used in the criterion.