Class TargetSelection
Implements the target document selection
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
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. |