Selection.Extend(Object) 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.
Turns extend mode on, or extends the selection to the next larger unit of text if Extend mode is already on.
public void Extend (ref object Character);
abstract member Extend : obj -> unit
Public Sub Extend (Optional ByRef Character As Object)
Parameters
- Character
- Object
Optional Object. The character through which the selection is extended. This argument is case-sensitive and must evaluate to a String or an error occurs. Also, if the value of this argument is longer than a single character, Microsoft Word ignores the command entirely.
Remarks
The Extend method sets the ExtendMode property to True,
The progression of selected units of text is as follows: word, sentence, paragraph, section, entire document. If Character
is specified, extends the selection forward through the next instance of the specified character. The selection is extended by moving the active end of the selection.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기