Count

RevisionGroupCollection.Count property

Returnerar antalet revisionsgrupper i samlingen.

public int Count { get; }

Exempel

Visar hur man skriver ut information om en grupp revisioner i ett dokument.

Document doc = new Document(MyDir + "Revisions.docx");

Assert.AreEqual(7, doc.Revisions.Groups.Count);

foreach (RevisionGroup group in doc.Revisions.Groups)
{
    Console.WriteLine(
        $"Revision author: {group.Author}; Revision type: {group.RevisionType} \n\tRevision text: {group.Text}");
}

Se även