TXTRecordRemoveValue(_:_:)
Removes a key from a TXTRecordRef.
Declaration
func TXTRecordRemoveValue(_ txtRecord: UnsafeMutablePointer<TXTRecordRef>!, _ key: UnsafePointer<CChar>!) -> DNSServiceErrorTypeParameters
- txtRecord:
A TXTRecordRef initialized by calling TXTRecordCreate().
- key:
A key name. This value must be an ASCII string that exists in the TXTRecordRef.
Return Value
Returns kDNSServiceErr_NoError on success. Returns kDNSServiceErr_NoSuchKey if the “key” does not exist in the TXTRecordRef.