| Visual Basic (Declaration) | |
|---|---|
Public Function IntersecWith( _ ByVal element As RangeElement(Of T) _ ) As RangeElement(Of T)  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As RangeElement(Of T) Dim element As RangeElement(Of T) Dim value As RangeElement(Of T) value = instance.IntersecWith(element)  | |
| C# | |
|---|---|
public RangeElement<T> IntersecWith( RangeElement<T> element )  | |
Parameters
- element
 - The RangeElement<T> object to intersect with
 
Return Value
A new RangeElement<T> object that is the intersection of the cell ranges of two objects and also contains the elements of both objects, including the cell ranges.Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8