よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
//------------------------------------------------------ // // Public Methods // //------------------------------------------------------ #region Public Methods /// <summary> /// Retrieves a new range covering an identical span of text. The new range can be manipulated independently from the original. /// </summary> /// <returns>The new range.</returns> public TextPatternRange Clone() { SafeTextRangeHandle hResultTextRange = UiaCoreApi.TextRange_Clone(_hTextRange); return(Wrap(hResultTextRange, _pattern)); }