CopyTo Method

Summary

Copies the data and all the attributes to another MediaSample object.

Syntax
C#
VB
C++
public void CopyTo( 
   MediaSample pDst 
) 
Public Sub CopyTo( _ 
   ByVal pDst As MediaSample _ 
)  
public: 
void CopyTo(  
   MediaSample^ pDst 
)  

Parameters

pDst
The destination MediaSample.

Remarks

This method copies, in one step, the data and all the attributes. It is more efficient than copying the data and all the attributes one by one. It is similar to Clone, except that it copies everything to an existing MediaSample object.

Requirements

Target Platforms

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly