Class TargetSelection
Implements the target document selection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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. |
System.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 |
---|---|---|
System.String | text | The text replacing the selection. |
System.String | operationName | The name of the operation related with the replace that will be used for undo operations. |