Interface ITranslationProviderLanguageDirectionWithDelete
Exposes translation provider delete TU functionality for a specific language direction.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface ITranslationProviderLanguageDirectionWithDelete
Methods
DeleteTranslationUnit(TranslationUnit)
Deletes the specified translation unit from the Translation Provider.
Declaration
bool DeleteTranslationUnit(TranslationUnit translationUnit)
Parameters
Type | Name | Description |
---|---|---|
TranslationUnit | translationUnit | The translation unit to delete. |
Returns
Type | Description |
---|---|
System.Boolean | true if the translation unit was deleted, false otherwise. |
DeleteTranslationUnits(TranslationUnit[])
Deletes the translation units from the translation provider.
Declaration
int DeleteTranslationUnits(TranslationUnit[] translationUnits)
Parameters
Type | Name | Description |
---|---|---|
TranslationUnit[] | translationUnits |
Returns
Type | Description |
---|---|
System.Int32 | The number of deleted translation units |