Skip to content

Latest commit

 

History

History
151 lines (87 loc) · 2.86 KB

officeimo.word.wordcomment.md

File metadata and controls

151 lines (87 loc) · 2.86 KB

WordComment

Namespace: OfficeIMO.Word

public class WordComment

Inheritance ObjectWordComment

Properties

Id

ID of a comment

public string Id { get; }

Property Value

String

Text

Text content of a comment

public string Text { get; set; }

Property Value

String

Initials

Initials of a person who created a comment

public string Initials { get; set; }

Property Value

String

Author

Full name of a person who created a comment

public string Author { get; set; }

Property Value

String

DateTime

DateTime when the comment was created

public DateTime DateTime { get; set; }

Property Value

DateTime

Methods

GetNewId(WordDocument)

internal static string GetNewId(WordDocument document)

Parameters

document WordDocument

Returns

String

GetNewId(WordDocument, Comments)

internal static string GetNewId(WordDocument document, Comments comments)

Parameters

document WordDocument

comments Comments

Returns

String

GetCommentsPart(WordDocument)

internal static Comments GetCommentsPart(WordDocument document)

Parameters

document WordDocument

Returns

Comments

Create(WordDocument, String, String, String)

public static WordComment Create(WordDocument document, string author, string initials, string comment)

Parameters

document WordDocument

author String

initials String

comment String

Returns

WordComment

GetAllComments(WordDocument)

public static List<WordComment> GetAllComments(WordDocument document)

Parameters

document WordDocument

Returns

List<WordComment>