GraphNodeIdName Class
The GraphNodeIdName to give to a GraphNodeId.
This forms the name and data type of the GraphNodeId.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.GraphModel.GraphNodeIdName
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class GraphNodeIdName _
Implements IComparable(Of GraphNodeIdName)
[SerializableAttribute]
public class GraphNodeIdName : IComparable<GraphNodeIdName>
[SerializableAttribute]
public ref class GraphNodeIdName : IComparable<GraphNodeIdName^>
[<SerializableAttribute>]
type GraphNodeIdName =
class
interface IComparable<GraphNodeIdName>
end
public class GraphNodeIdName implements IComparable<GraphNodeIdName>
The GraphNodeIdName type exposes the following members.
Properties
Name | Description | |
---|---|---|
Label | The label of the GraphNodeIdName | |
Name | The name of the GraphNodeIdName | |
Values | Gets the list of all registered GraphNodeId | |
ValueType | The type of the GraphNodeIdName. This is used to determine how to deserialize data to objects that have this name. e.g.: Assembly=FileName may have to deserialize to a Uri and get Uri-based compares, but: Class=ClassName must deserialize to a string. This can be done if Assembly has a Type of Uri. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Compares this GraphNodeIdName against another (ordinal compare) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get(String, String, Type) | Get or Create a GraphNodeId based on the name, type and formatter. | |
Get(String, String, Type, Boolean) | Get or Create a GraphNodeIdName based on the name, type and formatter. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts the GraphNodeIdName to a string (Overrides Object.ToString.) |
Top
Fields
Name | Description | |
---|---|---|
Array | The default (empty) name. Uses no formatter and displays the value as is. | |
Group | A group name | |
Literal | The default (empty) name. Uses no formatter and displays the value as is. | |
Nested | A nested GraphNodeId |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.