Determines whether the collection contains a specific DNS record
Namespace:
JHSoftware.SimpleDNSPlusAssembly: SDNSAPI (in SDNSAPI)
Version: 1.1.0.0 (1.1.0.0)
Syntax
| C# |
|---|
public bool Contains( string name, string type, params string[] data ) |
| Visual Basic (Declaration) |
|---|
Public Function Contains ( _ name As String, _ type As String, _ ParamArray data As String() _ ) As Boolean |
Parameters
- name
- Type: System..::.String
Domain name (FQDN) of the record
- type
- Type: System..::.String
The type of the record. For example "A" or "MX".
- data
- Type: array<System..::.String>[]()[]
One or more string values (depending on the record type) containing the data of the record. IMPORTANT: The number of data parameters must match exactly the number of data fields for the record type (see "Record types and data fields").