Freigeben über


OpenXmlPartContainer-Member

Geschützte Member einschließen
Geerbte Member einschließen

Defines OpenXmlPartContainer - base class for OpenXmlPackage and OpenXmlPart.

Vom OpenXmlPartContainer-Typ werden die folgenden Member offengelegt.

Konstruktoren

  Name Beschreibung
Geschützte Methode OpenXmlPartContainer Initializes OpenXmlPartContainer.

Nach oben

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft DataPartReferenceRelationships Enumerates all DataPartReferenceRelationship relationships.
Öffentliche Eigenschaft ExternalRelationships Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships.
Öffentliche Eigenschaft HyperlinkRelationships Enumerates all hyperlink relationships.
Öffentliche Eigenschaft Parts Enumerates all parts which are relationship targets of this part.

Nach oben

Methoden

  Name Beschreibung
Öffentliche Methode AddAnnotation Adds an object to the annotation list of this PartContainer
Öffentliche Methode AddExtendedPart(String, String, String) Adds an extended part ( Application specific part )
Öffentliche Methode AddExtendedPart(String, String, String, String) Adds an extended part ( Application specific part )
Öffentliche Methode AddExternalRelationship(String, Uri) Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead.
Öffentliche Methode AddExternalRelationship(String, Uri, String) Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead.
Öffentliche Methode AddHyperlinkRelationship(Uri, Boolean) Adds a new hyperlink relationship.
Öffentliche Methode AddHyperlinkRelationship(Uri, Boolean, String) Adds a new hyperlink relationship.
Öffentliche Methode AddNewPart<T>() Adds a new part of type T
Öffentliche Methode AddNewPart<T>(String) Adds a new part of type T
Öffentliche Methode AddNewPart<T>(String, String) Adds a new part of type T.
Öffentliche Methode AddPart<T>(T) Adds the part to the document. Must use the returned part to opertate the part added to the doucment
Öffentliche Methode AddPart<T>(T, String) Adds the part to the document with a given relationship identifier (ID). Must use the returned part to opertate the part added to the doucment
Öffentliche Methode Annotation(Type) Get the first annotation object of the specified type from this PartContainer
Öffentliche Methode Annotation<T>() Get the first annotation object of the specified type from this PartContainer
Öffentliche Methode Annotations(Type) Gets a collection of annotations of the specified type for this PartContainer
Öffentliche Methode Annotations<T>() Gets a collection of annotations of the specified type for this PartContainer
Öffentliche Methode ChangeIdOfPart Changes the relationship ID of the part.
Öffentliche Methode CreateRelationshipToPart(OpenXmlPart) Adds relationship for the specified part to this part.
Öffentliche Methode CreateRelationshipToPart(OpenXmlPart, String) Adds relationship for the specified part to this part.
Öffentliche Methode DeleteExternalRelationship(String) Deletes the sepcified ExternalRelationship.
Öffentliche Methode DeleteExternalRelationship(ExternalRelationship) Deletes the specified external relationship.
Öffentliche Methode DeletePart(String) Deletes the specified child part from this part.
Öffentliche Methode DeletePart(OpenXmlPart) Deletes a specified part in the package root layer.
Öffentliche Methode DeleteParts<T> Deletes all the parts which in the passed in collection from the document.
Öffentliche Methode DeleteReferenceRelationship(String) Deletes the sepcified reference relationship.
Öffentliche Methode DeleteReferenceRelationship(ReferenceRelationship) Deletes the specified reference relationship.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetExternalRelationship Gets the sepcified ExternalRelationship.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetIdOfPart Gets the relationship ID of the part.
Öffentliche Methode GetPartById Gets the child part through the relationship ID.
Öffentliche Methode GetPartsCountOfType<T> Gets the count of all parts in type T.
Öffentliche Methode GetPartsOfType<T>() Enumerates all the children parts of the specified type "T" of this part.
Öffentliche Methode GetPartsOfType<T>(ICollection<T>) Gets all the children parts of the specified type "T" into "partCollection" of this part.
Öffentliche Methode GetReferenceRelationship Gets the sepcified ReferenceRelationship.
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode RemoveAnnotations(Type) Removes the annotations of the specified type from this PartContainer
Öffentliche Methode RemoveAnnotations<T>() Removes the annotations of the specified type from this PartContainer
Geschützte Methode ThrowIfObjectDisposed Test whether the object is already disposed.
Öffentliche Methode ToString (Geerbt von Object.)

Nach oben

Siehe auch

Referenz

OpenXmlPartContainer Klasse

DocumentFormat.OpenXml.Packaging-Namespace