Skip to content

Class ExcelThreadedCommentPerson

Namespace: OfficeOpenXml.ThreadedComments
Assembly: EPPlus.dll

A person in the context of ThreadedComments. Might refer to an IdentityProvider, see property ProviderId.

public class ExcelThreadedCommentPerson : XmlHelper, IEqualityComparer<ExcelThreadedCommentPerson>

Inheritance

object ← XmlHelper ← ExcelThreadedCommentPerson

Implements

IEqualityComparer<ExcelThreadedCommentPerson>

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

DisplayName

Display name of the person

public string DisplayName { get; set; }

Property Value

string

Id

Unique Id of the person

public string Id { get; set; }

Property Value

string

ProviderId

See the documentation of the members of the IdentityProvider enum and Microsofts documentation at https://docs.microsoft.com/en-us/openspecs/office_standards/ms-xlsx/6274371e-7c5c-46e3-b661-cbeb4abfe968

public IdentityProvider ProviderId { get; set; }

Property Value

IdentityProvider

UserId

See the documentation of the members of the IdentityProvider enum and Microsofts documentation at https://docs.microsoft.com/en-us/openspecs/office_standards/ms-xlsx/6274371e-7c5c-46e3-b661-cbeb4abfe968

public string UserId { get; set; }

Property Value

string

Methods

Equals(ExcelThreadedCommentPerson, ExcelThreadedCommentPerson)

Determines whether the specified objects are equal.

public bool Equals(ExcelThreadedCommentPerson x, ExcelThreadedCommentPerson y)

Parameters

x ExcelThreadedCommentPerson

The first object to compare.

y ExcelThreadedCommentPerson

The second object to compare.

Returns

bool

GetHashCode(ExcelThreadedCommentPerson)

Returns a hash code for the specified object.

public int GetHashCode(ExcelThreadedCommentPerson obj)

Parameters

obj ExcelThreadedCommentPerson

The object for which a hash code is to be returned.

Returns

int

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.