MonikerKey Class
Represents the key of a Moniker.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | MonikerKey(String^, Guid, Guid, Store^) | Initializes a new instance of MonikerKey with the specified GUID and store. |
| Name | Description | |
|---|---|---|
![]() | DomainClassId | Gets the GUID of the domain class associated with this MonikerKey. |
![]() | DomainRelationshipId | Gets the GUID of the domain relationship associated with this MonikerKey. |
![]() | MonikerName | Gets the name of the MonikerKey used to resolve the moniker. |
| Name | Description | |
|---|---|---|
![]() | CompareTo(MonikerKey^) | Compares one MonikerKey to another one. |
![]() | Equals(MonikerKey^) | Returns whether or not two MonikerKey objects are identical. |
![]() | Equals(Object^) | Compares this MonikerKey instance to the object passed as parameter. If the object is another MonikerKey, it compares them based upon their Name and ID to determine if they are equal. Omitting Equals violates rule: OverrideMethodsOnComparableTypes.(Overrides Object::Equals(Object^).) |
![]() | GetHashCode() | Generates HashCode based on all 3 equality comparisons performed by CompareTo() For a MonikerKey that will return true for CompareTo, the GetHashCode will match value returned by this.GetHashCode Omitting this violates rule: OverrideGetHashCodeOnOverridingEquals.(Overrides Object::GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(MonikerKey^, MonikerKey^) | Compares two MonikerKeys based upon their ID to determine if they are equal. Overriding operator == to satisfy CA1036:OverrideMethodsOnComparableTypes |
![]() ![]() | GreaterThan(MonikerKey^, MonikerKey^) | Compares two MonikerKeys based upon their ID to determine if monikerKey1's ID is greater than monikerKey2. Overriding operator > to satisfy CA1036:OverrideMethodsOnComparableTypes |
![]() ![]() | Inequality(MonikerKey^, MonikerKey^) | Compares two MonikerKeys based upon their ID to determine if they are unequal. Overriding operator != to satisfy CA1036:OverrideMethodsOnComparableTypes |
![]() ![]() | LessThan(MonikerKey^, MonikerKey^) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



