MainDocumentPart.AddVideoPart Method (String) (Microsoft.Office.DocumentFormat.OpenXml.Packaging)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Add a VideoPart to the MainDocumentPart
Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)
Syntax
'Declaration
Public Function AddVideoPart ( _
contentType As String _
) As VideoPart
'Usage
Dim instance As MainDocumentPart
Dim contentType As String
Dim returnValue As VideoPart
returnValue = instance.AddVideoPart(contentType)
public VideoPart AddVideoPart (
string contentType
)
Parameters
- contentType
the content type of the VideoPart
Return Value
The newly added part
See Also
Reference
MainDocumentPart Class
MainDocumentPart Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace