Share via


MainDocumentPart.AddVideoPart Method (VideoPartType, 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.]

Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)

Syntax

'Declaration
Public Function AddVideoPart ( _
    partType As VideoPartType, _
    id As String _
) As VideoPart
'Usage
Dim instance As MainDocumentPart
Dim partType As VideoPartType
Dim id As String
Dim returnValue As VideoPart

returnValue = instance.AddVideoPart(partType, id)
public VideoPart AddVideoPart (
    VideoPartType partType,
    string id
)

Parameters

  • partType
  • id

See Also

Reference

MainDocumentPart Class
MainDocumentPart Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace