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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應