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;
}
/** @property */
public abstract TimeSpan get_Duration ()
public abstract function get Duration () : TimeSpan
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.
See Also
Reference
MediaFile Class
MediaFile Members
Microsoft.Expression.Encoder Namespace