/// One bit per RR type present for the owner name.
/// A one bit indicates that at least one RR of that type is present for the owner name.
/// A zero indicates that no such RR is present.
/// All bits not specified because they are beyond the end of the bit map are assumed to be zero.
/// Note that bit 30, for NXT, will always be on so the minimum bit map length is actually four octets.
/// Trailing zero octets are prohibited in this format.
/// The first bit represents RR type zero (an illegal type which can not be present) and so will be zero in this format.
/// This format is not used if there exists an RR with a type number greater than 127.
/// If the zero bit of the type bit map is a one, it indicates that a different format is being used which will always be the case if a type number greater than 127 is present.
/// </summary>
publicDataSegmentTypeBitMap{get;privateset;}
publicboolIsTypePresentForOwner(DnsTypednsType)
{
if(dnsType>=MaxTypeBitMapDnsType)
thrownewArgumentOutOfRangeException("dnsType",dnsType,string.Format("Cannot be bigger than {0}.",MaxTypeBitMapDnsType));