Returns a byte[] object representing a TXT record
from a given dictionary.
| C# | Visual Basic | Visual C++ |
public static byte[] DataFromTXTRecordDictionary( IDictionary dict )
Public Shared Function DataFromTXTRecordDictionary ( _ dict As IDictionary _ ) As Byte()
public: static array<unsigned char>^ DataFromTXTRecordDictionary ( IDictionary^ dict )
- dict (IDictionary)
- A dictionary containing a TXT record.
A byte[] object representing TXT data formed from dict.
The dictionary must contain a set of key / value pairs representing a TXT record.
The key objects must be String (or string) objects. These will be converted to UTF-8 format by this method.
The value objects must be byte[] arrays. If these represent strings, it is highly recommended that they be converted to UTF-8 format.