次の方法で共有


GraphPathSerializationDictionary.Add Method

Definition

Overloads

Add(KeyValuePair<String,String>)

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

Add(String, String)

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

Add(KeyValuePair<String,String>)

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

public:
 virtual void Add(System::Collections::Generic::KeyValuePair<System::String ^, System::String ^> item);
public void Add (System.Collections.Generic.KeyValuePair<string,string> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, string> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, string> -> unit
Public Sub Add (item As KeyValuePair(Of String, String))

Parameters

item
KeyValuePair<String,String>

The name/value pair item to add

Implements

Applies to

Add(String, String)

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

public:
 virtual void Add(System::String ^ key, System::String ^ value);
public void Add (string key, string value);
abstract member Add : string * string -> unit
override this.Add : string * string -> unit
Public Sub Add (key As String, value As String)

Parameters

key
String

The name of the path

value
String

The value

Implements

Applies to