Click or drag to resize
IAbstractMarkupDataContainerLocations Property
Iterator for all possible locations in the collection and its sub-collections

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
IEnumerable<Location> Locations { get; }

Property Value

Type: IEnumerableLocation
Examples
Below you find an example of how you can use this iterator:
void ProcessAllText(IAbstractMarkupDataContainer container)
{
  foreach (Location location in container.Locations)
  {
    IText text = location.ItemAtLocation as IText;
    if (text != null)
    {
      ProcessText(text);
    }
  }
}
See Also
Community
Edit

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