ImageFile.Duration Property

Gets the image duration (0 for still files).

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)


Public Overrides ReadOnly Property Duration As TimeSpan
Dim instance As ImageFile
Dim value As TimeSpan

value = instance.Duration
public override TimeSpan Duration { get; }
virtual property TimeSpan Duration {
    TimeSpan get () override;

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also


ImageFile Class
ImageFile Members
Microsoft.Expression.Encoder Namespace