Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to TXTRecordMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
Returns a string with the raw bytes inside the TXTRecord which you can pass directly to DNSServiceRegisterMBS.Register() or to DNSServiceRegisterMBS.UpdateRecord().
TXTRecordMBS.ContainsKey(key as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
key: An ASCII string containing the key name.
Returns true if the TXT Record contains the specified key. Otherwise, it returns false.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
See also:
TXTRecordMBS.KeyAtIndex(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
index: the index you want in the range from zero to GetCount()-1.
It's also possible to iterate through keys in a TXT record by simply calling KeyAtIndex() repeatedly, beginning with index zero and increasing until lasterror is set to kErrorInvalid.
See also:
TXTRecordMBS.Length as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
TXTRecordMBS.RemoveValue(key as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
key: A key name which exists in the TXTRecord.
Lasterror is kErrorNoError on success or kErrorNoSuchKey if the "key" does not exist in the TXTRecord.
TXTRecordMBS.SetValue(key as string, value as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
If the "key" already exists in the TXTRecord, then the current value will be replaced with the new value.
Keys may exist in four states with respect to a given TXT record:
TXTRecordMBS.Value(key as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
key: The ASCII string containing the key name.
Returns an empty string if the key does not exist in this TXT record, or exists with no value (to differentiate between these two cases use ContainsKey()).
See also:
TXTRecordMBS.ValueAtIndex(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Network | MBS Network Plugin | 10.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
index: the index you want in the range from zero to GetCount()-1.
It's also possible to iterate through values in a TXT record by simply calling ValueAtIndex() repeatedly, beginning with index zero and increasing until lasterror is set to kErrorInvalid.
See also:
The items on this page are in the following plugins: MBS Network Plugin.