Microsoft.Protocols.TestSuites.MS_OXCFXICS.PropList.HasPropertyType C# (CSharp) Method

HasPropertyType() public method

Indicates whether contains a type.
public HasPropertyType ( ushort type ) : bool
type ushort A ushort value.
return bool
        public bool HasPropertyType(ushort type)
        { 
            if (this.PropValues != null && this.PropValues.Count > 0)
            {
                foreach (PropValue v in this.PropValues)
                {
                    if (v.PropType == type)
                    {
                        return true;
                    }
                }
            }

            return false;
        }