다음을 통해 공유


PartExtensionProvider.AddPartExtension(String, String) Method

Definition

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.

Applies to