HasField Method HasField(string) Declaration bool HasField(string fieldName) Parameters string fieldName field name Returns bool true if this class definition contains a field named by given name