ITextRangeProvider.Clone Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: