Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

TXTRecordMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Network MBS Network Plugin 10.1 Yes Yes No Yes No
Function: The class to represent a DNS-SD TXT record.
dim t as new TXTRecordMBS

call t.SetValue "Hello", "World"

MsgBox t.Bytes // show complete record
MsgBox t.Value("Hello") // lookup value
Notes: The constructor creates an empty TXTRecord where you can add values using TXTRecordSetValue.

Feedback, Comments & Corrections

  • 9 methods
  • 5 shared methods
    • shared method ContainsKey(txtRecord as string, key as string) as boolean
    • shared method Count(txtRecord as string) as Integer
    • shared method KeyAtIndex(txtRecord as string, index as Integer) as string
    • shared method Value(txtRecord as string, key as string) as string
    • shared method ValueAtIndex(txtRecord as string, index as Integer) as string

This class has no sub classes.

The items on this page are in the following plugins: MBS Network Plugin.

TwainVersionMBS   -   UDPSocketMBS

MBS Xojo tutorial videos