InsertBlock Method
InsertBlock(String, Boolean)
Inserts the given string at the specified location.
Declaration
public virtual bool InsertBlock(string text, bool withChange = false)
Parameters
Type | Name | Description |
---|---|---|
String | text | String to insert. |
Boolean | withChange | Indicates if the change needs to be translated to the parser |
Returns
Type | Description |
---|---|
Boolean | True if the method succeed; otherwise false. |
Implements
InsertBlock(String[], Boolean)
Inserts the given string array at the specified location.
Declaration
public virtual bool InsertBlock(string[] strings, bool withChange = false)
Parameters
Type | Name | Description |
---|---|---|
String[] | strings | String array to insert. |
Boolean | withChange | Indicates if the change needs to be translated to the parser |
Returns
Type | Description |
---|---|
Boolean | True if the method succeed; otherwise false. |
Implements
InsertBlock(ITextStrings, Boolean)
Inserts the given string collection at the specified location.
Declaration
public virtual bool InsertBlock(ITextStrings strings, bool withChange = false)
Parameters
Type | Name | Description |
---|---|---|
ITextStrings | strings | Collection of strings to insert. |
Boolean | withChange | Indicates if the change needs to be translated to the parser |
Returns
Type | Description |
---|---|
Boolean | True if the method succeed; otherwise false. |
Implements
InsertBlock(String[], Boolean, Boolean)
When implemented by a class, inserts the given string array at the specified location.
Declaration
public virtual bool InsertBlock(string[] strings, bool select, bool withChange = false)
Parameters
Type | Name | Description |
---|---|---|
String[] | strings | String array to insert. |
Boolean | select | Specifies whether inserted block should be selected. |
Boolean | withChange | Indicates if the change needs to be translated to the parser |
Returns
Type | Description |
---|---|
Boolean | True if the method succeed; otherwise false. |