Поделиться через


SharedParagraphIdFeatureExtensions.Add Метод

Определение

Перегрузки

Add(ISharedFeature<IParagraphIdCollectionFeature>, WordprocessingDocument)

Регистрирует документ для использования общей коллекции абзаца, что потенциально может обеспечить уникальность многих документов.

Add(ISharedFeature<IParagraphIdCollectionFeature>, IEnumerable<String>)

Добавьте произвольные значения для отслеживания в качестве общей коллекции.

Add(ISharedFeature<IParagraphIdCollectionFeature>, WordprocessingDocument)

Регистрирует документ для использования общей коллекции абзаца, что потенциально может обеспечить уникальность многих документов.

public static DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> Add (this DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> shared, DocumentFormat.OpenXml.Packaging.WordprocessingDocument doc);
static member Add : DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> * DocumentFormat.OpenXml.Packaging.WordprocessingDocument -> DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature>
<Extension()>
Public Function Add (shared As ISharedFeature(Of IParagraphIdCollectionFeature), doc As WordprocessingDocument) As ISharedFeature(Of IParagraphIdCollectionFeature)

Параметры

shared
ISharedFeature<IParagraphIdCollectionFeature>

Функция общей коллекции.

doc
WordprocessingDocument

Документ для регистрации с помощью общей коллекции абзаца.

Возвращаемое значение

Применяется к

Add(ISharedFeature<IParagraphIdCollectionFeature>, IEnumerable<String>)

Добавьте произвольные значения для отслеживания в качестве общей коллекции.

public static DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> Add (this DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> shared, System.Collections.Generic.IEnumerable<string> paragraphIds);
static member Add : DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> * seq<string> -> DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature>
<Extension()>
Public Function Add (shared As ISharedFeature(Of IParagraphIdCollectionFeature), paragraphIds As IEnumerable(Of String)) As ISharedFeature(Of IParagraphIdCollectionFeature)

Параметры

shared
ISharedFeature<IParagraphIdCollectionFeature>

Функция общей коллекции.

paragraphIds
IEnumerable<String>

Идентификаторы абзаца, которые будут включены в общую коллекцию.

Возвращаемое значение

Применяется к