Version

ContainsReference Method

Returns true if this reference contains inReference
Syntax
'Declaration
 
Function ContainsReference( _
   ByVal inReference As IExcelCalcReference _
) As System.Boolean
System.bool ContainsReference( 
   IExcelCalcReference inReference
)

Parameters

inReference
The contained candidate.

Return Value

true if inReference is contained by this reference.
Remarks
This method is used by the calculation engine to determine if the passed in reference is either a child of this reference or a more fully scoped version of this reference. Each element in this reference is compared with the corresponding element in the input reference. If the identifiers are the same, and if this scope contains the input scope, then the input reference is contained by this reference. If the input reference is longer than this reference and the common element are contained, then the input reference is contained.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub