Version

InitializeText Method

Initializes all of the text in the document.
Syntax
'Declaration
 
Public Sub InitializeText( _
   ByVal text As String _
) 
public void InitializeText( 
   string text
)

Parameters

text
The text to
Exceptions
ExceptionDescription
System.InvalidOperationExceptionif this method is called in the middle of an update operation, e.g. from within a TextChanging event handler.
Remarks

Note: this is equivalent to calling one of the Load methods.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also