Interface ITranslationProviderLanguageDirectionWithDelete
Exposes translation provider delete TU functionality for a specific language direction.
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
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 |
---|---|
bool | 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 | A collection of the translation units to delete |
Returns
Type | Description |
---|---|
int | The number of deleted translation units |