PartExtensionProvider Members

Include Protected Members
Include Inherited Members

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Defines a PartExtensionProvider, which maintains a Content Type, Part Extension (.xml) dictionary. It is used in OpenXmlPackage derived classes.

The PartExtensionProvider type exposes the following members.

Constructors

 

Name

Description

Public method

PartExtensionProvider()

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

Public method

PartExtensionProvider(Int32)

Initializes a new instance of the class that is empty. Specifies the initial capacity.

Public method

PartExtensionProvider(PartExtensionProvider)

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

Top

Properties

 

Name

Description

Public property

Comparer

(Inherited from Dictionary<String, String>.)

Public property

Count

(Inherited from Dictionary<String, String>.)

Public property

Item

(Inherited from Dictionary<String, String>.)

Public property

Keys

(Inherited from Dictionary<String, String>.)

Public property

Values

(Inherited from Dictionary<String, String>.)

Top

Methods

 

Name

Description

Public method

Add

(Inherited from Dictionary<String, String>.)

Public method

AddPartExtension

Adds a part extension for the specified ContentType.

Public method

Clear

(Inherited from Dictionary<String, String>.)

Public method

ContainsKey

(Inherited from Dictionary<String, String>.)

Public method

ContainsValue

(Inherited from Dictionary<String, String>.)

Public method

Equals

(Inherited from Object.)

Protected method

Finalize

(Inherited from Object.)

Public method

GetEnumerator

(Inherited from Dictionary<String, String>.)

Public method

GetHashCode

(Inherited from Object.)

Public method

GetObjectData

(Inherited from Dictionary<String, String>.)

Public method

GetType

(Inherited from Object.)

Public method

MakeSurePartExtensionExist

Validates whether the contentType and partExtension are in the provider. The contentType and partExtension are added to the provider if it does not exist in the provider.

Protected method

MemberwiseClone

(Inherited from Object.)

Public method

OnDeserialization

(Inherited from Dictionary<String, String>.)

Public method

Remove

(Inherited from Dictionary<String, String>.)

Public method

ToString

(Inherited from Object.)

Public method

TryGetValue

(Inherited from Dictionary<String, String>.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

ICollection<KeyValuePair<TKey, TValue>>.Add

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

IDictionary.Add

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

ICollection<KeyValuePair<TKey, TValue>>.Contains

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

IDictionary.Contains

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

ICollection<KeyValuePair<TKey, TValue>>.CopyTo

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

ICollection.CopyTo

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

IEnumerable.GetEnumerator

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

IDictionary.GetEnumerator

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary.IsFixedSize

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary.IsReadOnly

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

ICollection.IsSynchronized

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary.Item

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary<TKey, TValue>.Keys

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary.Keys

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

ICollection<KeyValuePair<TKey, TValue>>.Remove

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate method

IDictionary.Remove

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

ICollection.SyncRoot

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary<TKey, TValue>.Values

(Inherited from Dictionary<String, String>.)

Explicit interface implemetationPrivate property

IDictionary.Values

(Inherited from Dictionary<String, String>.)

Top

See Also

Reference

PartExtensionProvider Class

DocumentFormat.OpenXml.Packaging Namespace