AudioVideoFile.CalculateDuration Method

Calculate the duration of a file by going through and creating an index of the file.

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


Public Sub CalculateDuration ( _
    progressDelegate As EventHandler(Of IndexProgressEventArgs) _
Dim instance As AudioVideoFile
Dim progressDelegate As EventHandler(Of IndexProgressEventArgs)

public void CalculateDuration (
    EventHandler<IndexProgressEventArgs> progressDelegate
void CalculateDuration (
    EventHandler<IndexProgressEventArgs^>^ progressDelegate

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


AudioVideoFile Class
AudioVideoFile Members
Microsoft.Expression.Encoder Namespace