Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITextRangeProvider.Clone Method

Returns a new ITextRangeProvider identical to the original ITextRangeProvider and inheriting all properties of the original.

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

ITextRangeProvider Clone()

Return Value

Type: System.Windows.Automation.Provider.ITextRangeProvider
The new text range. A null reference (Nothing in Microsoft Visual Basic .NET) is never returned.

The new range can be manipulated independently from the original.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft