PartExtensionProvider Class

Definition

Defines a provider which maintains a dictionary where the key is the content type and the value is a part extension.

public sealed class PartExtensionProvider : System.Collections.Generic.Dictionary<string,string>
[System.Serializable]
public sealed class PartExtensionProvider : System.Collections.Generic.Dictionary<string,string>
type PartExtensionProvider = class
    inherit Dictionary<string, string>
[<System.Serializable>]
type PartExtensionProvider = class
    inherit Dictionary<string, string>
Public NotInheritable Class PartExtensionProvider
Inherits Dictionary(Of String, String)
Inheritance
PartExtensionProvider
Attributes

Constructors

PartExtensionProvider()

Initializes a new instance of the PartExtensionProvider class that is empty.

PartExtensionProvider(Int32)

Initializes a new instance of PartExtensionProvider that is empty, has the specified initial capacity.

PartExtensionProvider(PartExtensionProvider)

Initializes a new instance of the PartExtensionProvider class that contains elements copied from partExtProvider.

Methods

AddPartExtension(String, String)

Add a part extension for the specified content type.

MakeSurePartExtensionExist(String, String)

Check to make sure the content type and part extension is in the provider. If not, they will be added.

Applies to