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)
Syntax
'Declaration
Public Sub CalculateDuration ( _
progressDelegate As EventHandler(Of IndexProgressEventArgs) _
)
'Usage
Dim instance As AudioVideoFile
Dim progressDelegate As EventHandler(Of IndexProgressEventArgs)
instance.CalculateDuration(progressDelegate)
public void CalculateDuration (
EventHandler<IndexProgressEventArgs> progressDelegate
)
public:
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
Reference
AudioVideoFile Class
AudioVideoFile Members
Microsoft.Expression.Encoder Namespace