Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XpsResource Members

Defines the base class for resources that can be added to an XpsDocument.

The following tables list the members exposed by the XpsResource type.

  Name Description
Public property Uri  Gets or sets the uniform resource identifier (URI) of the part.(inherited from XpsPartBase)

(see also Protected Methods )
  Name Description
Public method Commit Commits all changes and flushes the resource to the document package.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetStream When overridden in a derived class, returns the I/O stream for reading or writing the resource.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RelativeUri Returns the URI of the resource that is relative to a specified absolute URI.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

  Name Description
Explicit interface implementation Method System.IDisposable.Dispose This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Community Additions

© 2015 Microsoft