Click or drag to resize
ISerializableMarkupDataContainer Interface
Intended for binary serialization of markup data content. The implementation of this interface is guaranteed to be marked with the [Serializable] attribute, and is binary serializable.

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface ISerializableMarkupDataContainer : IAbstractMarkupDataContainer, 
	IList<IAbstractMarkupData>, ICollection<IAbstractMarkupData>, IEnumerable<IAbstractMarkupData>, 
	IEnumerable

The ISerializableMarkupDataContainer type exposes the following members.

Properties
  NameDescription
Public propertyAllSubItems
An iterator that can be used to iterate over all child items - including sub-items - in the container.
(Inherited from IAbstractMarkupDataContainer.)
Public propertyCanBeSplit
Indicates whether it is possible to split this container into different parts by calling the Split(Int32) method.
(Inherited from IAbstractMarkupDataContainer.)
Public propertyDocProperties
Document properties for the document that the markup data originates from
Public propertyFileProperties
File properties for the file that the markup data originates from
Public propertyCode exampleLocations
Iterator for all possible locations in the collection and its sub-collections
(Inherited from IAbstractMarkupDataContainer.)
Top
Methods
  NameDescription
Public methodCode exampleFind(PredicateIAbstractMarkupData)
Returns the first item that matches the specified predecate.

The iteration is performed over all items and sub-items in this collection and all sub-collections until the item is located.

(Inherited from IAbstractMarkupDataContainer.)
Public methodCode exampleFind(PredicateLocation)
Returns the first location that matches the specified predecate. The iteration is performed over all locations in this collection and all sub-collections until the element is located.
(Inherited from IAbstractMarkupDataContainer.)
Public methodFind(Location, PredicateLocation)
Returns the first location that matches the specified predecate, starting at a specific location.
(Inherited from IAbstractMarkupDataContainer.)
Public methodForEachSubItem
Execute the specified action on each item and (recursively) each sub-item in this container.
(Inherited from IAbstractMarkupDataContainer.)
Public methodGetLocationsFrom
Enumerator for locations starting from a specific location
(Inherited from IAbstractMarkupDataContainer.)
Public methodMoveAllItemsTo(IAbstractMarkupDataContainer)
Moves all items from this container into another one.
(Inherited from IAbstractMarkupDataContainer.)
Public methodMoveAllItemsTo(IAbstractMarkupDataContainer, Int32)
Moves all items from this container to a specific location in another container.
(Inherited from IAbstractMarkupDataContainer.)
Public methodMoveItemsTo(IAbstractMarkupDataContainer, Int32, Int32)
Moves a number of items from this container into another one.
(Inherited from IAbstractMarkupDataContainer.)
Public methodMoveItemsTo(IAbstractMarkupDataContainer, Int32, Int32, Int32)
Moves a number of items from this container into a specific location in another one.
(Inherited from IAbstractMarkupDataContainer.)
Public methodSplit
Splits this container in two. After the split, this object will hold all items with index lower than the splitBeforeItemIndex parameter. The returned object is a clone of this object, which contains all other items.
(Inherited from IAbstractMarkupDataContainer.)
Top
Remarks

Used for native Windows clipboard support. The document and file properties are serialized too, so that it is possible to determine whether the content originates from the same file and/or document when pasting.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments