EndnotesPart.AddEmbeddedObjectPart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddEmbeddedObjectPart(EmbeddedObjectPartType) | |
AddEmbeddedObjectPart(String) |
Adds a EmbeddedObjectPart to the EndnotesPart |
AddEmbeddedObjectPart(EmbeddedObjectPartType, String) | |
AddEmbeddedObjectPart(String, String) |
AddEmbeddedObjectPart(EmbeddedObjectPartType)
public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType) As EmbeddedObjectPart
Parameters
- partType
- EmbeddedObjectPartType
Returns
Applies to
AddEmbeddedObjectPart(String)
Adds a EmbeddedObjectPart to the EndnotesPart
public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (string contentType);
member this.AddEmbeddedObjectPart : string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (contentType As String) As EmbeddedObjectPart
Parameters
- contentType
- String
The content type of the EmbeddedObjectPart
Returns
The newly added part.
Applies to
AddEmbeddedObjectPart(EmbeddedObjectPartType, String)
public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType, string id);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType, id As String) As EmbeddedObjectPart
Parameters
- partType
- EmbeddedObjectPartType
- id
- String
Returns
Applies to
AddEmbeddedObjectPart(String, String)
public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (string contentType, string id);
member this.AddEmbeddedObjectPart : string * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (contentType As String, id As String) As EmbeddedObjectPart
Parameters
- contentType
- String
- id
- String