Share via


GraphPathSerializationDictionary.Add Method (String, String)

Add a path with the given name and value. An empty path is ignored.

Trailing slash is removed.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Sub Add ( _
    key As String, _
    value As String _
)
public void Add(
    string key,
    string value
)
public:
virtual void Add(
    String^ key, 
    String^ value
) sealed
abstract Add : 
        key:string * 
        value:string -> unit  
override Add : 
        key:string * 
        value:string -> unit
public final function Add(
    key : String, 
    value : String
)

Parameters

  • key
    Type: String

    The name of the path

  • value
    Type: String

    The value

Implements

IDictionary.Add(UTP, UTP)

.NET Framework Security

See Also

Reference

GraphPathSerializationDictionary Class

Add Overload

Microsoft.VisualStudio.GraphModel Namespace