SharedParagraphIdFeatureExtensions.AddSharedParagraphIdFeature 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.
Registers a document for a shared paragraph id collection.
public static DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> AddSharedParagraphIdFeature (this DocumentFormat.OpenXml.Packaging.WordprocessingDocument doc);
static member AddSharedParagraphIdFeature : DocumentFormat.OpenXml.Packaging.WordprocessingDocument -> DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature>
<Extension()>
Public Function AddSharedParagraphIdFeature (doc As WordprocessingDocument) As ISharedFeature(Of IParagraphIdCollectionFeature)
Parameters
Document to register for a shared collection.
Returns
The existing or new shared collection.