Class TargetSelection
Implements the target document selection
Inherited Members
Namespace: SdlSdl.TranslationStudioAutomationIntegrationApi
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
public class TargetSelection : AbstractContentSelection
Methods
Replace(IAbstractMarkupData, string)
Replace the current selection with the markup data
Declaration
public void Replace(IAbstractMarkupData markupData, string operationName)
Parameters
Type | Name | Description |
---|---|---|
IAbstractMarkupData | markupData | The markup data replacing the selection. |
string | operationName | The name of the operation related with the replace that will be used for undo operations. |
Replace(string, string)
Replace the current selection with the specified text.
Declaration
public void Replace(string text, string operationName)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text replacing the selection. |
string | operationName | The name of the operation related with the replace that will be used for undo operations. |