PartExtensionProvider.AddPartExtension(String, String) 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.
Add a part extension for the specified content type.
public void AddPartExtension (string contentType, string partExtension);
member this.AddPartExtension : string * string -> unit
Public Sub AddPartExtension (contentType As String, partExtension As String)
Parameters
- contentType
- String
The content type.
- partExtension
- String
Part Extension (".xml") to be used for the part with the specified content type.