IFormatConditions.Add Method
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)
Usage
'Utilisation
Dim Type As XlFormatConditionType
Dim Operator As Object
Dim Formula1 As Object
Dim Formula2 As Object
Dim returnValue As FormatCondition
Dim iFormatConditions1 As IFormatConditions
returnValue = iFormatConditions1.Add(Type, Operator, Formula1, Formula2)
Syntax
'Déclaration
Function Add( _
<InAttribute()> ByVal Type As XlFormatConditionType, _
<InAttribute()> Optional ByVal Operator As Object, _
<InAttribute()> Optional ByVal Formula1 As Object, _
<InAttribute()> Optional ByVal Formula2 As Object _
) As FormatCondition
FormatCondition Add(
[In] XlFormatConditionType Type,
[In, Optional] object Operator,
[In, Optional] object Formula1,
[In, Optional] object Formula2
);
public: FormatCondition^ Add(
XlFormatConditionType^ Type,
Object^ Operator,
Object^ Formula1,
Object^ Formula2
);
public FormatCondition Add(
/*in*/XlFormatConditionType Type,
/*in*/System.Object Operator,
/*in*/System.Object Formula1,
/*in*/System.Object Formula2
);
function Add(
Type : XlFormatConditionType,
Operator : Object,
Formula1 : Object,
Formula2 : Object
) : FormatCondition;
Parameters
- Type
This parameter is intended for internal use only.
- Operator
This parameter is intended for internal use only.
- Formula1
This parameter is intended for internal use only.
- Formula2
This parameter is intended for internal use only.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
IFormatConditions Interface
Microsoft.Office.Interop.Excel Namespace