MediaFile.Duration Property
Gets the duration of the source.
Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Duration As TimeSpan
'Usage
Dim instance As MediaFile
Dim value As TimeSpan
value = instance.Duration
public abstract TimeSpan Duration { get; }
public:
virtual property TimeSpan Duration {
TimeSpan get () abstract;
}
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
MediaFile Class
MediaFile Members
Microsoft.Expression.Encoder Namespace