Modifier

Partager via


ITextRangeProvider.Clone Method

Definition

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