EntityIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The structure to represent the identity of an entity object in the project system model. Identities of object in the project model are composed by a set of string key value pairs. Keys and values are treated as case-sensitive.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.EntityIdentityJsonConverter))]
[System.Runtime.CompilerServices.Nullable(0)]
public class EntityIdentity : IEquatable<Microsoft.VisualStudio.ProjectSystem.Query.EntityIdentity>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.EntityIdentityJsonConverter))>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type EntityIdentity = class
interface IEquatable<EntityIdentity>
Public Class EntityIdentity
Implements IEquatable(Of EntityIdentity)
- Inheritance
-
EntityIdentity
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute NullableAttribute
- Implements
Constructors
EntityIdentity(EntityIdentity, IEnumerable<KeyValuePair<String,String>>) |
Initializes a new instance of the EntityIdentity class. |
EntityIdentity(EntityIdentity, String, String) |
Initializes a new instance of the EntityIdentity class. |
EntityIdentity(IEnumerable<KeyValuePair<String,String>>) |
Initializes a new instance of the EntityIdentity class. |
EntityIdentity(String, String) |
Initializes a new instance of the EntityIdentity class. |
Properties
Empty |
Gets the empty identity. |
Item[String] |
Gets a value inside the identity with a key. |
Keys |
Enumerate all keys. |
KeysCount |
Gets the number of key/value pairs in Microsoft.VisualStudio.ProjectSystem.Query.EntityIdentity.identityValues. |
Methods
ContainsKey(String) |
Gets whether a key is valid in this identity. |
Equals(EntityIdentity) | |
Equals(Object) | |
GetHashCode() | |
ToString() | |
TryGetValue(String, String) |
Try to gets a value in the identity with a key. |