次の方法で共有


ITextRangeProvider.Clone Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns a new ITextRangeProvider that is identical to the original ITextRangeProvider and that inherits all the properties of the original.

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

Syntax

'Declaration
Function Clone As ITextRangeProvider
ITextRangeProvider Clone()

Return Value

Type: System.Windows.Automation.Provider.ITextRangeProvider
The new text range. This method never returns nulla null reference (Nothing in Visual Basic).

Remarks

The new range can be manipulated independently of the original.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.