SlideMasterPart.AddCustomXmlPart 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
AddCustomXmlPart(CustomXmlPartType) |
Adds a CustomXmlPart to the SlideMasterPart |
AddCustomXmlPart(String) |
Adds a CustomXmlPart to the SlideMasterPart |
AddCustomXmlPart(CustomXmlPartType, String) |
Adds a CustomXmlPart to the SlideMasterPart |
AddCustomXmlPart(String, String) |
Adds a CustomXmlPart to the SlideMasterPart |
AddCustomXmlPart(CustomXmlPartType)
Adds a CustomXmlPart to the SlideMasterPart
public DocumentFormat.OpenXml.Packaging.CustomXmlPart AddCustomXmlPart (DocumentFormat.OpenXml.Packaging.CustomXmlPartType partType);
member this.AddCustomXmlPart : DocumentFormat.OpenXml.Packaging.CustomXmlPartType -> DocumentFormat.OpenXml.Packaging.CustomXmlPart
Public Function AddCustomXmlPart (partType As CustomXmlPartType) As CustomXmlPart
Parameters
- partType
- CustomXmlPartType
The part type of the CustomXmlPart
Returns
The newly added part.
Applies to
AddCustomXmlPart(String)
Adds a CustomXmlPart to the SlideMasterPart
public DocumentFormat.OpenXml.Packaging.CustomXmlPart AddCustomXmlPart (string contentType);
member this.AddCustomXmlPart : string -> DocumentFormat.OpenXml.Packaging.CustomXmlPart
Public Function AddCustomXmlPart (contentType As String) As CustomXmlPart
Parameters
- contentType
- String
The content type of the CustomXmlPart
Returns
The newly added part.
Applies to
AddCustomXmlPart(CustomXmlPartType, String)
Adds a CustomXmlPart to the SlideMasterPart
public DocumentFormat.OpenXml.Packaging.CustomXmlPart AddCustomXmlPart (DocumentFormat.OpenXml.Packaging.CustomXmlPartType partType, string id);
member this.AddCustomXmlPart : DocumentFormat.OpenXml.Packaging.CustomXmlPartType * string -> DocumentFormat.OpenXml.Packaging.CustomXmlPart
Public Function AddCustomXmlPart (partType As CustomXmlPartType, id As String) As CustomXmlPart
Parameters
- partType
- CustomXmlPartType
The part type of the CustomXmlPart
- id
- String
The relationship id
Returns
The newly added part.
Applies to
AddCustomXmlPart(String, String)
Adds a CustomXmlPart to the SlideMasterPart
public DocumentFormat.OpenXml.Packaging.CustomXmlPart AddCustomXmlPart (string contentType, string id);
member this.AddCustomXmlPart : string * string -> DocumentFormat.OpenXml.Packaging.CustomXmlPart
Public Function AddCustomXmlPart (contentType As String, id As String) As CustomXmlPart
Parameters
- contentType
- String
The content type of the CustomXmlPart
- id
- String
The relationship id
Returns
The newly added part.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin