Share via


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
Public property Label The label of the GraphNodeIdName
Public property Name The name of the GraphNodeIdName
Public propertyStatic member Values Gets the list of all registered GraphNodeId
Public property 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
Public method CompareTo Compares this GraphNodeIdName against another (ordinal compare)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic member Get(String, String, Type) Get or Create a GraphNodeId based on the name, type and formatter.
Public methodStatic member Get(String, String, Type, Boolean) Get or Create a GraphNodeIdName based on the name, type and formatter.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Converts the GraphNodeIdName to a string (Overrides Object.ToString.)

Top

Fields

  Name Description
Public fieldStatic member Array The default (empty) name. Uses no formatter and displays the value as is.
Public fieldStatic member Group A group name
Public fieldStatic member Literal The default (empty) name. Uses no formatter and displays the value as is.
Public fieldStatic member 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.

See Also

Reference

Microsoft.VisualStudio.GraphModel Namespace