The GetDuration method not supported for Visual Basic.
Syntax
object.GetDuration( pDuration As <Unsupported variant type> )
See Also