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.String

    Required String. The name of the PropertyTest object.

  • Value
    Type: System.Object

    Optional Object. A value used by condition.

  • SecondValue
    Type: System.Object

    Optional Object. A second value used by condition.

See Also

Reference

PropertyTests Interface

PropertyTests Members

Microsoft.Office.Core Namespace