| IAbstractMarkupDataContainerLocations Property |
Iterator for all possible locations in the collection and its sub-collections
Namespace: Sdl.FileTypeSupport.Framework.BilingualApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
SyntaxIEnumerable<Location> Locations { get; }ReadOnly Property Locations As IEnumerable(Of Location)
Get
property IEnumerable<Location^>^ Locations {
IEnumerable<Location^>^ get ();
}abstract Locations : IEnumerable<Location> with 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
Comments