For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
is set to true, this field will contain the sentiment expressed for this
mention of the entity in the provided document.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eEntityMention\u003c/code\u003e class within the Google Cloud Natural Language v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityMention\u003c/code\u003e class represents a mention of an entity in text, with support primarily for proper noun mentions.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and has constructors to create instances, one with and one without initial parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eSentiment\u003c/code\u003e, \u003ccode\u003eText\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e provide details about the entity mention, such as sentiment analysis, the mentioned text, and the type of mention.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eEntityMention\u003c/code\u003e class are available, with the latest being version 3.7.0, and there are previous versions up to 2.2.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Natural Language v1 API - Class EntityMention (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.EntityMention)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.6.0/Google.Cloud.Language.V1.EntityMention)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.5.0/Google.Cloud.Language.V1.EntityMention)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.4.0/Google.Cloud.Language.V1.EntityMention)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.3.0/Google.Cloud.Language.V1.EntityMention)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.2.0/Google.Cloud.Language.V1.EntityMention)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.1.0/Google.Cloud.Language.V1.EntityMention)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.0.0/Google.Cloud.Language.V1.EntityMention)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Language.V1/2.3.0/Google.Cloud.Language.V1.EntityMention)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Language.V1/2.2.0/Google.Cloud.Language.V1.EntityMention) \n\n public sealed class EntityMention : IMessage\u003cEntityMention\u003e, IEquatable\u003cEntityMention\u003e, IDeepCloneable\u003cEntityMention\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Natural Language v1 API class EntityMention.\n\nRepresents a mention for an entity in the text. Currently, proper noun\nmentions are supported. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e EntityMention \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EntityMention](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.EntityMention), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EntityMention](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.EntityMention), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EntityMention](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.EntityMention), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Language.V1](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Language.V1.dll\n\nConstructors\n------------\n\n### EntityMention()\n\n public EntityMention()\n\n### EntityMention(EntityMention)\n\n public EntityMention(EntityMention other)\n\nProperties\n----------\n\n### Sentiment\n\n public Sentiment Sentiment { get; set; }\n\nFor calls to \\[AnalyzeEntitySentiment\\]\\[\\] or if\n\\[AnnotateTextRequest.Features.extract_entity_sentiment\\]\\[google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment\\]\nis set to true, this field will contain the sentiment expressed for this\nmention of the entity in the provided document.\n\n### Text\n\n public TextSpan Text { get; set; }\n\nThe mention text.\n\n### Type\n\n public EntityMention.Types.Type Type { get; set; }\n\nThe type of the entity mention."]]