A bencode dictionary.
BDictionary
01 Syntax
Microsoft.VisualBasic.Serialization.Bencoding.BDictionary
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ToBencodedString | 2 | Generates the bencoded equivalent of the dictionary. |
| Add | 3 | Adds the specified key-value pair to the dictionary. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Item | 1 | Gets or sets the value assosiated with the specified key. |
04 Members
ToBencodedString
Generates the bencoded equivalent of the dictionary.
Returns
The bencoded equivalent of the dictionary.
ToBencodedString(
StringBuilder)Generates the bencoded equivalent of the dictionary.
Parameters
| Name | Type | Description |
|---|---|---|
u | StringBuilder | The StringBuilder to append to. |
Returns
The bencoded equivalent of the dictionary.
Add(
String, BElement)Adds the specified key-value pair to the dictionary.
Parameters
| Name | Type | Description |
|---|---|---|
key | String | The specified key. |
value | BElement | The specified value. |
Add(
String, String)Adds the specified key-value pair to the dictionary.
Parameters
| Name | Type | Description |
|---|---|---|
key | String | The specified key. |
value | String | The specified value. |
Add(
String, Int32)Adds the specified key-value pair to the dictionary.
Parameters
| Name | Type | Description |
|---|---|---|
key | String | The specified key. |
value | Int32 | The specified value. |
Item(
String)Gets or sets the value assosiated with the specified key.
Parameters
| Name | Type | Description |
|---|---|---|
key | String | The key of the value to get or set. |
Returns
The value assosiated with the specified key.