Interface IOtherMarker
A custom marker that can span content, but that is not visible in the editor.
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IOtherMarker : IAbstractMarker, IAbstractMarkupData, ICloneable, IAbstractMarkupDataContainer, ISupportsUniqueId, IList<IAbstractMarkupData>, ICollection<IAbstractMarkupData>, IEnumerable<IAbstractMarkupData>, IEnumerable
Remarks
This type of marker is intended to be used for custom implementations that temporarily need to embed invisible content-spanning markup inside the bilingual content.
Examples could include markup of terminology.
The markers are often preserved during regular editing operations, but since they are invisible in the editing environment, users may delete them without even knowing that they are present. Implementations should keep this in mind, and not rely on the markers not being deleted during such operations.
The markers have no equivalent representation in the native API.
Properties
Id
Marker id
Declaration
string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Intended to allow the marker to be identified, for example, so that it can be associated with properties that is stored elsewhere.
Note that there is no guarantee that this property uniquely identifies a specific marker instance. Even if the id is originally unique, the marker may be duplicated during content processing operations, which causes cloned instances to use the same id.
This property may be null.
MarkerType
Type of marker
Declaration
string MarkerType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Set this property to distinguish your specific type of marker from other markers.
Values used by SDL have the prefix "x-sdl-".