The immunohistochemical mucin expression pattern distinguishes different types of intraductal papillary mucinous neoplasms of the pancreas and determines their relationship to mucinous noncystic carcinoma and ductal adenocarcinoma.