RelationshipErrorHandler.CreateRewriterFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a RelationshipErrorHandler that simply rewrites the invalid target Uri.
public static Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage,DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler> CreateRewriterFactory (DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter rewriter);
static member CreateRewriterFactory : DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter -> Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage, DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler>
Public Shared Function CreateRewriterFactory (rewriter As RelationshipErrorHandler.Rewriter) As Func(Of OpenXmlPackage, RelationshipErrorHandler)
Parameters
- rewriter
- RelationshipErrorHandler.Rewriter
The delegate used to rewrite the Uri.
Returns
A factory function for use in RelationshipErrorHandlerFactory.