CopyTo Method

Summary
Copies the data and all the attributes to another MediaSample object.
Syntax
C#
C++/CLI
public void CopyTo( 
   MediaSample pDst 
) 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2025 Apryse Sofware Corp. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2025 Apryse Sofware Corp. All Rights Reserved.