HasField Method HasField(string) Declaration bool HasField(string fieldName) Parameters string fieldName name of the field Returns bool true if field exist in this class.