ITextRangeProvider.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new ITextRangeProvider identical to the original ITextRangeProvider and inheriting all properties of the original.
public:
System::Windows::Automation::Provider::ITextRangeProvider ^ Clone();
public System.Windows.Automation.Provider.ITextRangeProvider Clone ();
abstract member Clone : unit -> System.Windows.Automation.Provider.ITextRangeProvider
Public Function Clone () As ITextRangeProvider
Returns
The new text range. A null reference (Nothing
in Visual Basic) is never returned.
Remarks
The new range can be manipulated independently from the original.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.