| Visual Basic (Declaration) | |
|---|---|
Function GetFormula( _ ByVal obj As IExpressionConsumer, _ ByVal index As Integer, _ ByVal referenceStyle As ReferenceStyle _ ) As String  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As IObjectExpressionSupport Dim obj As IExpressionConsumer Dim index As Integer Dim referenceStyle As ReferenceStyle Dim value As String value = instance.GetFormula(obj, index, referenceStyle)  | |
| C# | |
|---|---|
string GetFormula( IExpressionConsumer obj, int index, ReferenceStyle referenceStyle )  | |
Parameters
- obj
 - The object consumer.
 - index
 - The index of the formula.
 - referenceStyle
 - The reference style of the formula.
 
Return Value
The formula of the object at the specified indexTarget Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8